AppLovin / AppLovin-MAX-SDK-iOS

Other
92 stars 74 forks source link

iOS Unexpected Failure during build process #201

Open SVell opened 1 year ago

SVell commented 1 year ago

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/FMP_white_hand@3x.png
IASDKResources.bundle/IA_close@2x.png
IASDKResources.bundle/IA_close@3x.png
IASDKResources.bundle/Info.plist
IASDKResources.bundle/browserBack.png
IASDKResources.bundle/browserBack@2x.png
IASDKResources.bundle/browserBack@3x.png
IASDKResources.bundle/browserDismiss.png
IASDKResources.bundle/browserDismiss@2x.png
IASDKResources.bundle/browserDismiss@3x.png
IASDKResources.bundle/browserForward.png
IASDKResources.bundle/browserForward@2x.png
IASDKResources.bundle/browserForward@3x.png
IASDKResources.bundle/close@2x.png
IASDKResources.bundle/close@3x.png
IASDKResources.bundle/muteButton@2x.png
IASDKResources.bundle/muteButton@3x.png
IASDKResources.bundle/muteButtonSelected@2x.png
IASDKResources.bundle/muteButtonSelected@3x.png
IASDKResources.bundle/play.png
IASDKResources.bundle/play@2x.png
IASDKResources.bundle/play@3x.png

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
thomasmso commented 1 year ago

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

SVell commented 1 year ago

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

Didn't work

thomasmso commented 1 year ago

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

jscoobysnack commented 1 year ago

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 commented 1 year ago

Are you on Xcode 14?

SVell commented 1 year ago

Are you on Xcode 14?

Xcode 14.2 (14C18)

thomasmso commented 1 year ago

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

SVell commented 1 year ago

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 commented 1 year ago

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

thomasmso commented 1 year ago

@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 commented 10 months ago

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

github-actions[bot] commented 2 weeks ago

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