Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS Unexpected Failure during build process #201

Open
SVell opened this issue Feb 14, 2023 · 12 comments
Open

iOS Unexpected Failure during build process #201

SVell opened this issue Feb 14, 2023 · 12 comments
Labels
bug Something isn't working stale This isue has been inactive

Comments

@SVell
Copy link

SVell commented Feb 14, 2023

MAX SDK Version

11.7.1

Device/Platform Info

iOS

Current Behavior

After updating sdk to the latest version, an unexpected failure occurs during iOS build (near the end of the build). Build logs cannot identify the problem and just writes "Unexpected failure" in Unity Framework section. Detailed research gives me the log listed below (Additional Info)
photo_2023-02-14_11-58-24

Expected Behavior

No response

How to Reproduce

Reproduces every build on Intel based and M1 based Mackbooks that previously made build without any troubles (before SDK update)

Additional Info

photo_2023-02-14_11-52-12

PhaseScriptExecution [CP]\ Copy\ Pods\ Resources /Users/svell/Library/Developer/Xcode/DerivedData/Unity-iPhone-fyuzghrwuzmpjkgjiubjwtphjwyw/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/UnityFramework.build/Script-9F191A6393996025CEF8C0B6.sh (in target 'UnityFramework' from project 'Unity-iPhone')
    cd /Users/svell/Documents/Builds
    /bin/sh -c /Users/svell/Library/Developer/Xcode/DerivedData/Unity-iPhone-fyuzghrwuzmpjkgjiubjwtphjwyw/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/UnityFramework.build/Script-9F191A6393996025CEF8C0B6.sh

/Users/svell/Documents/Builds/Pods/AppLovinSDK/applovin-ios-sdk-11.7.1/AppLovinSDKResources.bundle
/Users/svell/Documents/Builds/Pods/Fyber_Marketplace_SDK/IASDKCore/IASDKCore.xcframework/IASDKResources.bundle
building file list ... done
AppLovinSDKResources.bundle/
AppLovinSDKResources.bundle/ALConsentFlowATT.json
AppLovinSDKResources.bundle/ALConsentFlowPrivacyPolicy.json
AppLovinSDKResources.bundle/ALConsentFlowPrivacyPolicyAndATT.json
AppLovinSDKResources.bundle/ALConsentFlowTermsOfServiceAndPrivacyPolicy.json
AppLovinSDKResources.bundle/ALConsentFlowTermsOfServiceAndPrivacyPolicyAndATT.json
AppLovinSDKResources.bundle/ALDDetailTableViewCell.nib
AppLovinSDKResources.bundle/ALDRightDetailTableViewCell.nib
AppLovinSDKResources.bundle/Assets.car
AppLovinSDKResources.bundle/Info.plist
rsync: delete_file: rmdir "/Users/svell/Library/Developer/Xcode/DerivedData/Unity-iPhone-fyuzghrwuzmpjkgjiubjwtphjwyw/Build/Products/ReleaseForRunning-iphoneos/UnityFramework.framework/AppLovinSDKResources.bundle/MANativeAdLeaderView.nib" failed: Directory not empty (66)
rsync: delete_file: rmdir "/Users/svell/Library/Developer/Xcode/DerivedData/Unity-iPhone-fyuzghrwuzmpjkgjiubjwtphjwyw/Build/Products/ReleaseForRunning-iphoneos/UnityFramework.framework/AppLovinSDKResources.bundle/MANativeAdMediaBannerView.nib" failed: Directory not empty (66)
AppLovinSDKResources.bundle/MANativeAdMediumTemplate1.nib
AppLovinSDKResources.bundle/MANativeAdSmallTemplate1.nib
AppLovinSDKResources.bundle/MANativeAdVerticalBannerView.nib
AppLovinSDKResources.bundle/MANativeAdVerticalLeaderView.nib
AppLovinSDKResources.bundle/MANativeAdVerticalMediaBannerView.nib
AppLovinSDKResources.bundle/OMLICENSE
AppLovinSDKResources.bundle/mute.aiff
AppLovinSDKResources.bundle/omsdk-v1.4.1.js
AppLovinSDKResources.bundle/ALDMultiAdViewController.storyboardc/
AppLovinSDKResources.bundle/ALDMultiAdViewController.storyboardc/Info.plist
AppLovinSDKResources.bundle/ALDMultiAdViewController.storyboardc/3jf-B1-XNL-view-Iqa-CO-DFs.nib/
AppLovinSDKResources.bundle/ALDMultiAdViewController.storyboardc/3jf-B1-XNL-view-Iqa-CO-DFs.nib/objects-11.0+.nib
AppLovinSDKResources.bundle/ALDMultiAdViewController.storyboardc/3jf-B1-XNL-view-Iqa-CO-DFs.nib/runtime.nib
AppLovinSDKResources.bundle/ALDMultiAdViewController.storyboardc/ALDMultiAdViewController.nib/
AppLovinSDKResources.bundle/ALDMultiAdViewController.storyboardc/ALDMultiAdViewController.nib/objects-11.0+.nib
AppLovinSDKResources.bundle/ALDMultiAdViewController.storyboardc/ALDMultiAdViewController.nib/runtime.nib
AppLovinSDKResources.bundle/Base.lproj/
AppLovinSDKResources.bundle/Base.lproj/Localizable.strings
AppLovinSDKResources.bundle/MAHybridNativeAdView.nib/
AppLovinSDKResources.bundle/MAHybridNativeAdView.nib/objects-11.0+.nib
AppLovinSDKResources.bundle/MAHybridNativeAdView.nib/runtime.nib
AppLovinSDKResources.bundle/MANativeAdBannerView.nib/
AppLovinSDKResources.bundle/MANativeAdBannerView.nib/objects-11.0+.nib
AppLovinSDKResources.bundle/MANativeAdBannerView.nib/runtime.nib
AppLovinSDKResources.bundle/MANativeAdMRecView.nib/
AppLovinSDKResources.bundle/MANativeAdMRecView.nib/objects-11.0+.nib
AppLovinSDKResources.bundle/MANativeAdMRecView.nib/runtime.nib
AppLovinSDKResources.bundle/de.lproj/
AppLovinSDKResources.bundle/de.lproj/Localizable.strings
AppLovinSDKResources.bundle/en.lproj/
AppLovinSDKResources.bundle/en.lproj/Localizable.strings
AppLovinSDKResources.bundle/es.lproj/
AppLovinSDKResources.bundle/es.lproj/Localizable.strings

AppLovinSDKResources.bundle/fr.lproj/
AppLovinSDKResources.bundle/fr.lproj/Localizable.strings
AppLovinSDKResources.bundle/ja.lproj/
AppLovinSDKResources.bundle/ja.lproj/Localizable.strings
AppLovinSDKResources.bundle/ko.lproj/
AppLovinSDKResources.bundle/ko.lproj/Localizable.strings
AppLovinSDKResources.bundle/zh-Hans.lproj/
AppLovinSDKResources.bundle/zh-Hans.lproj/Localizable.strings
AppLovinSDKResources.bundle/zh-Hant.lproj/
AppLovinSDKResources.bundle/zh-Hant.lproj/Localizable.strings
IASDKResources.bundle/
IASDKResources.bundle/Assets.car
IASDKResources.bundle/[email protected]
IASDKResources.bundle/[email protected]
IASDKResources.bundle/[email protected]
IASDKResources.bundle/Info.plist
IASDKResources.bundle/browserBack.png
IASDKResources.bundle/[email protected]
IASDKResources.bundle/[email protected]
IASDKResources.bundle/browserDismiss.png
IASDKResources.bundle/[email protected]
IASDKResources.bundle/[email protected]
IASDKResources.bundle/browserForward.png
IASDKResources.bundle/[email protected]
IASDKResources.bundle/[email protected]
IASDKResources.bundle/[email protected]
IASDKResources.bundle/[email protected]
IASDKResources.bundle/[email protected]
IASDKResources.bundle/[email protected]
IASDKResources.bundle/[email protected]
IASDKResources.bundle/[email protected]
IASDKResources.bundle/play.png
IASDKResources.bundle/[email protected]
IASDKResources.bundle/[email protected]

sent 1687422 bytes  received 1442 bytes  3377728.00 bytes/sec
total size is 1696259  speedup is 1.00
rsync error: some files could not be transferred (code 23) at /AppleInternal/Library/BuildRoots/aaefcfd1-5c95-11ed-8734-2e32217d8374/Library/Caches/com.apple.xbs/Sources/rsync/rsync/main.c(996) [sender=2.6.9]
realpath: illegal option -- m
usage: realpath [-q] [path ...]
:117: error: Unexpected failure
@SVell SVell added the bug Something isn't working label Feb 14, 2023
@thomasmso
Copy link
Member

Could you try de-integrating Fyber and seeing if that resolves your build?

@SVell
Copy link
Author

SVell commented Feb 16, 2023

Could you try de-integrating Fyber and seeing if that resolves your build?

Didn't work

@thomasmso
Copy link
Member

Feel free to send a sample project over which reproduces the issue. We have not gotten this complaint with any other publishers.

@jscoobysnack
Copy link

jscoobysnack commented Feb 22, 2023

Seeing the same thing here. Old product. Many updates. Updated AppLovin and now have this issue.

PhaseScriptExecution [CP]\ Copy\ Pods\ Resources /Users/kubiak/Library/Developer/Xcode/DerivedData/Unity-iPhone-eyscqleysramrudlhxusumrfuhmu/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/UnityFramework.build/Script-4B5EA3211AA67CD32DDAFAC3.sh (in target 'UnityFramework' from project 'Unity-iPhone')
    cd /Users/kubiak/dev/MunkyFun/shadow/BuildOutput/executable/iOS/LeagueofWar
    /bin/sh -c /Users/kubiak/Library/Developer/Xcode/DerivedData/Unity-iPhone-eyscqleysramrudlhxusumrfuhmu/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/UnityFramework.build/Script-4B5EA3211AA67CD32DDAFAC3.sh

/Users/kubiak/dev/MunkyFun/shadow/BuildOutput/executable/iOS/LeagueofWar/Pods/AppLovinSDK/applovin-ios-sdk-11.7.1/AppLovinSDKResources.bundle
building file list ... done
AppLovinSDKResources.bundle/
AppLovinSDKResources.bundle/ALConsentFlowATT.json
AppLovinSDKResources.bundle/ALConsentFlowPrivacyPolicy.json
AppLovinSDKResources.bundle/ALConsentFlowPrivacyPolicyAndATT.json
AppLovinSDKResources.bundle/ALConsentFlowTermsOfServiceAndPrivacyPolicy.json
AppLovinSDKResources.bundle/ALConsentFlowTermsOfServiceAndPrivacyPolicyAndATT.json
AppLovinSDKResources.bundle/ALDDetailTableViewCell.nib
AppLovinSDKResources.bundle/ALDRightDetailTableViewCell.nib
AppLovinSDKResources.bundle/Assets.car
AppLovinSDKResources.bundle/Info.plist
rsync: delete_file: rmdir "/Users/kubiak/Library/Developer/Xcode/DerivedData/Unity-iPhone-eyscqleysramrudlhxusumrfuhmu/Build/Products/ReleaseForRunning-iphoneos/UnityFramework.framework/AppLovinSDKResources.bundle/MANativeAdLeaderView.nib" failed: Directory not empty (66)
AppLovinSDKResources.bundle/MANativeAdMediaBannerView.nib
AppLovinSDKResources.bundle/MANativeAdMediumTemplate1.nib
AppLovinSDKResources.bundle/MANativeAdSmallTemplate1.nib
AppLovinSDKResources.bundle/MANativeAdVerticalBannerView.nib
AppLovinSDKResources.bundle/MANativeAdVerticalLeaderView.nib
AppLovinSDKResources.bundle/MANativeAdVerticalMediaBannerView.nib
AppLovinSDKResources.bundle/OMLICENSE
AppLovinSDKResources.bundle/mute.aiff
AppLovinSDKResources.bundle/omsdk-v1.4.1.js
AppLovinSDKResources.bundle/ALDMultiAdViewController.storyboardc/
AppLovinSDKResources.bundle/ALDMultiAdViewController.storyboardc/Info.plist
AppLovinSDKResources.bundle/ALDMultiAdViewController.storyboardc/3jf-B1-XNL-view-Iqa-CO-DFs.nib/
AppLovinSDKResources.bundle/ALDMultiAdViewController.storyboardc/3jf-B1-XNL-view-Iqa-CO-DFs.nib/objects-11.0+.nib
AppLovinSDKResources.bundle/ALDMultiAdViewController.storyboardc/3jf-B1-XNL-view-Iqa-CO-DFs.nib/runtime.nib
AppLovinSDKResources.bundle/ALDMultiAdViewController.storyboardc/ALDMultiAdViewController.nib/
AppLovinSDKResources.bundle/ALDMultiAdViewController.storyboardc/ALDMultiAdViewController.nib/objects-11.0+.nib
AppLovinSDKResources.bundle/ALDMultiAdViewController.storyboardc/ALDMultiAdViewController.nib/runtime.nib
AppLovinSDKResources.bundle/Base.lproj/
AppLovinSDKResources.bundle/Base.lproj/Localizable.strings
AppLovinSDKResources.bundle/MAHybridNativeAdView.nib/
AppLovinSDKResources.bundle/MAHybridNativeAdView.nib/objects-11.0+.nib
AppLovinSDKResources.bundle/MAHybridNativeAdView.nib/runtime.nib
AppLovinSDKResources.bundle/MANativeAdBannerView.nib/
AppLovinSDKResources.bundle/MANativeAdBannerView.nib/objects-11.0+.nib
AppLovinSDKResources.bundle/MANativeAdBannerView.nib/runtime.nib
AppLovinSDKResources.bundle/MANativeAdMRecView.nib/
AppLovinSDKResources.bundle/MANativeAdMRecView.nib/objects-11.0+.nib
AppLovinSDKResources.bundle/MANativeAdMRecView.nib/runtime.nib
AppLovinSDKResources.bundle/de.lproj/
AppLovinSDKResources.bundle/de.lproj/Localizable.strings
AppLovinSDKResources.bundle/en.lproj/
AppLovinSDKResources.bundle/en.lproj/Localizable.strings
AppLovinSDKResources.bundle/es.lproj/
AppLovinSDKResources.bundle/es.lproj/Localizable.strings
AppLovinSDKResources.bundle/fr.lproj/
AppLovinSDKResources.bundle/fr.lproj/Localizable.strings
AppLovinSDKResources.bundle/ja.lproj/
AppLovinSDKResources.bundle/ja.lproj/Localizable.strings
AppLovinSDKResources.bundle/ko.lproj/
AppLovinSDKResources.bundle/ko.lproj/Localizable.strings
AppLovinSDKResources.bundle/zh-Hans.lproj/
AppLovinSDKResources.bundle/zh-Hans.lproj/Localizable.strings
AppLovinSDKResources.bundle/zh-Hant.lproj/
AppLovinSDKResources.bundle/zh-Hant.lproj/Localizable.strings

sent 1430828 bytes  received 952 bytes  2863560.00 bytes/sec
total size is 1434032  speedup is 1.00
rsync error: some files could not be transferred (code 23) at /AppleInternal/Library/BuildRoots/810eba08-405a-11ed-86e9-6af958a02716/Library/Caches/com.apple.xbs/Sources/rsync/rsync/main.c(996) [sender=2.6.9]
realpath: illegal option -- m
usage: realpath [-q] [path ...]
:113: error: Unexpected failure

@thomasmso
Copy link
Member

Are you on Xcode 14?

@SVell
Copy link
Author

SVell commented Feb 22, 2023

Are you on Xcode 14?

Xcode 14.2 (14C18)

@thomasmso
Copy link
Member

Are you able to reproduce in the demo app as well?

@SVell
Copy link
Author

SVell commented Feb 22, 2023

I am unable to build it because it does not build my app if I open with xcodeproj file, instead I should open with xcodeworkspace but the demo app lucks that file

@jscoobysnack
Copy link

I was able to get past this after doing 'clean build'.

@thomasmso
Copy link
Member

@SVell - the intention is to have publishers perform the CocoaPods installation, which is why we omitted the xcodeworkspace file. I can see how that can be problematic, and we'll address.

@phucnhwolffungame
Copy link

Can you tell for me that you fixed it how to ?

Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale This isue has been inactive label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale This isue has been inactive
Projects
None yet
Development

No branches or pull requests

4 participants