Closed paradizIscool closed 2 years ago
Hi @paradizIscool , the latest Facebook Audience Network SDK (6.9.0+) requires Xcode 13 to build apps. Please update to the latest Xcode to fix the issue.
Thanks
Ld /Users/sapteshchaubal/Library/Developer/Xcode/DerivedData/Unity-iPhone-ecydgufgxmiensdiyqliwbqysoeu/Build/Products/ReleaseForRunning-iphoneos/UnityFramework.framework/UnityFramework normal (in target 'UnityFramework' from project 'Unity-iPhone') cd /Users/sapteshchaubal/CosmicSentry/CosmicSentry_iOS /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target arm64-apple-ios11.0 -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk -L/Users/sapteshchaubal/Library/Developer/Xcode/DerivedData/Unity-iPhone-ecydgufgxmiensdiyqliwbqysoeu/Build/Products/ReleaseForRunning-iphoneos -L/Users/sapteshchaubal/CosmicSentry/CosmicSentry_iOS/Libraries -L/Users/sapteshchaubal/CosmicSentry/CosmicSentry_iOS/Libraries/Plugins/iOS/Firebase -F/Users/sapteshchaubal/Library/Developer/Xcode/DerivedData/Unity-iPhone-ecydgufgxmiensdiyqliwbqysoeu/Build/Products/ReleaseForRunning-iphoneos -F/Users/sapteshchaubal/Library/Developer/Xcode/DerivedData/Unity-iPhone-ecydgufgxmiensdiyqliwbqysoeu/Build/Products/ReleaseForRunning-iphoneos/FirebaseCore -F/Users/sapteshchaubal/Library/Developer/Xcode/DerivedData/Unity-iPhone-ecydgufgxmiensdiyqliwbqysoeu/Build/Products/ReleaseForRunning-iphoneos/FirebaseCoreDiagnostics -F/Users/sapteshchaubal/Library/Developer/Xcode/DerivedData/Unity-iPhone-ecydgufgxmiensdiyqliwbqysoeu/Build/Products/ReleaseForRunning-iphoneos/FirebaseInstallations -F/Users/sapteshchaubal/Library/Developer/Xcode/DerivedData/Unity-iPhone-ecydgufgxmiensdiyqliwbqysoeu/Build/Products/ReleaseForRunning-iphoneos/GoogleDataTransport -F/Users/sapteshchaubal/Library/Developer/Xcode/DerivedData/Unity-iPhone-ecydgufgxmiensdiyqliwbqysoeu/Build/Products/ReleaseForRunning-iphoneos/GoogleUtilities -F/Users/sapteshchaubal/Library/Developer/Xcode/DerivedData/Unity-iPhone-ecydgufgxmiensdiyqliwbqysoeu/Build/Products/ReleaseForRunning-iphoneos/PromisesObjC -F/Users/sapteshchaubal/Library/Developer/Xcode/DerivedData/Unity-iPhone-ecydgufgxmiensdiyqliwbqysoeu/Build/Products/ReleaseForRunning-iphoneos/nanopb -F/Users/sapteshchaubal/CosmicSentry/CosmicSentry_iOS/Pods/FBAudienceNetwork/Static -F/Users/sapteshchaubal/CosmicSentry/CosmicSentry_iOS/Pods/FirebaseAnalytics/Frameworks -F/Users/sapteshchaubal/CosmicSentry/CosmicSentry_iOS/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current -F/Users/sapteshchaubal/CosmicSentry/CosmicSentry_iOS/Pods/GoogleAppMeasurement/Frameworks -F/Users/sapteshchaubal/CosmicSentry/CosmicSentry_iOS/Pods/GoogleUserMessagingPlatform/Frameworks/Release -F/Users/sapteshchaubal/CosmicSentry/CosmicSentry_iOS/Pods/IronSourceAdMobAdapter/ISAdMobAdapter -F/Users/sapteshchaubal/CosmicSentry/CosmicSentry_iOS/Pods/IronSourceFacebookAdapter/ISFacebookAdapter -F/Users/sapteshchaubal/CosmicSentry/CosmicSentry_iOS/Pods/IronSourceSDK/IronSource -F/Users/sapteshchaubal/Library/Developer/Xcode/DerivedData/Unity-iPhone-ecydgufgxmiensdiyqliwbqysoeu/Build/Products/ReleaseForRunning-iphoneos/XCFrameworkIntermediates/FBAudienceNetwork -F/Users/sapteshchaubal/Library/Developer/Xcode/DerivedData/Unity-iPhone-ecydgufgxmiensdiyqliwbqysoeu/Build/Products/ReleaseForRunning-iphoneos/XCFrameworkIntermediates/FirebaseAnalytics -F/Users/sapteshchaubal/Library/Developer/Xcode/DerivedData/Unity-iPhone-ecydgufgxmiensdiyqliwbqysoeu/Build/Products/ReleaseForRunning-iphoneos/XCFrameworkIntermediates/GoogleAppMeasurement -F/Users/sapteshchaubal/Library/Developer/Xcode/DerivedData/Unity-iPhone-ecydgufgxmiensdiyqliwbqysoeu/Build/Products/ReleaseForRunning-iphoneos/XCFrameworkIntermediates/GoogleMobileAds -F/Users/sapteshchaubal/Library/Developer/Xcode/DerivedData/Unity-iPhone-ecydgufgxmiensdiyqliwbqysoeu/Build/Products/ReleaseForRunning-iphoneos/XCFrameworkIntermediates/ISAdMobAdapter -F/Users/sapteshchaubal/Library/Developer/Xcode/DerivedData/Unity-iPhone-ecydgufgxmiensdiyqliwbqysoeu/Build/Products/ReleaseForRunning-iphoneos/XCFrameworkIntermediates/ISFacebookAdapter -F/Users/sapteshchaubal/Library/Developer/Xcode/DerivedData/Unity-iPhone-ecydgufgxmiensdiyqliwbqysoeu/Build/Products/ReleaseForRunning-iphoneos/XCFrameworkIntermediates/IronSource -F/Users/sapteshchaubal/Library/Developer/Xcode/DerivedData/Unity-iPhone-ecydgufgxmiensdiyqliwbqysoeu/Build/Products/ReleaseForRunning-iphoneos/XCFrameworkIntermediates/UserMessagingPlatform -filelist /Users/sapteshchaubal/Library/Developer/Xcode/DerivedData/Unity-iPhone-ecydgufgxmiensdiyqliwbqysoeu/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/UnityFramework.build/Objects-normal/arm64/UnityFramework.LinkFileList -install_name @rpath/UnityFramework.framework/UnityFramework -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -Xlinker -rpath -Xlinker @executable_path/../../Frameworks -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -Xlinker -map -Xlinker /Users/sapteshchaubal/Library/Developer/Xcode/DerivedData/Unity-iPhone-ecydgufgxmiensdiyqliwbqysoeu/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/UnityFramework.build/UnityFramework-LinkMap-normal-arm64.txt -dead_strip -Xlinker -object_path_lto -Xlinker /Users/sapteshchaubal/Library/Developer/Xcode/DerivedData/Unity-iPhone-ecydgufgxmiensdiyqliwbqysoeu/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/UnityFramework.build/Objects-normal/arm64/UnityFramework_lto.o -fembed-bitcode-marker -stdlib\=libc++ -fobjc-arc -fobjc-link-runtime -ObjC -lc++ -lsqlite3 -lxml2 -lz -framework AVFoundation -framework AdSupport -framework AudioToolbox -framework CFNetwork -framework CoreGraphics -framework CoreImage -framework CoreLocation -framework CoreMedia -framework CoreTelephony -framework CoreVideo -framework FBAudienceNetwork -framework FBLPromises -framework FirebaseAnalytics -framework FirebaseCore -framework FirebaseCoreDiagnostics -framework FirebaseInstallations -framework Foundation -framework GoogleAppMeasurement -framework GoogleDataTransport -framework GoogleMobileAds -framework GoogleUtilities -framework ISAdMobAdapter -framework ISFacebookAdapter -framework IronSource -framework MediaPlayer -framework MessageUI -framework MobileCoreServices -framework QuartzCore -framework Security -framework StoreKit -framework SystemConfiguration -framework UIKit -framework UserMessagingPlatform -framework WebKit -framework nanopb -weak_framework AdSupport -weak_framework CFNetwork -weak_framework CoreMotion -weak_framework CoreTelephony -weak_framework JavaScriptCore -weak_framework LocalAuthentication -weak_framework SafariServices -weak_framework SystemConfiguration -weak_framework VideoToolbox -weak_framework WebKit -weak_framework CoreMotion -weak-lSystem -liPhone-lib -framework Metal -framework Security -framework MediaToolbox -framework CoreText -framework AudioToolbox -weak_framework AVFoundation -framework AVKit -framework CFNetwork -framework CoreGraphics -framework CoreMedia -weak_framework CoreMotion -framework CoreVideo -framework Foundation -framework OpenAL -framework QuartzCore -framework SystemConfiguration -framework UIKit -liconv.2 -lil2cpp /Users/sapteshchaubal/CosmicSentry/CosmicSentry_iOS/Libraries/baselib.a -lFirebaseCppAnalytics -lFirebaseCppApp -framework GameKit -framework StoreKit -weak_framework GameController -framework Pods_UnityFramework -Xlinker -dependency_info -Xlinker /Users/sapteshchaubal/Library/Developer/Xcode/DerivedData/Unity-iPhone-ecydgufgxmiensdiyqliwbqysoeu/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/UnityFramework.build/Objects-normal/arm64/UnityFramework_dependency_info.dat -o /Users/sapteshchaubal/Library/Developer/Xcode/DerivedData/Unity-iPhone-ecydgufgxmiensdiyqliwbqysoeu/Build/Products/ReleaseForRunning-iphoneos/UnityFramework.framework/UnityFramework
ld: warning: arm64 function not 4-byte aligned: _unwind_tester from /Users/sapteshchaubal/CosmicSentry/CosmicSentry_iOS/Libraries/libiPhone-lib.a(unwind_test_arm64.o) ld: warning: Could not find or use auto-linked library 'swift_Concurrency' ld: warning: Could not find or use auto-linked library 'swiftDispatch' ld: warning: Could not find or use auto-linked library 'swiftCoreGraphics' ld: warning: Could not find or use auto-linked library 'swiftDarwin' ld: warning: Could not find or use auto-linked library 'swiftUIKit' ld: warning: Could not find or use auto-linked library 'swiftMetal' ld: warning: Could not find or use auto-linked library 'swiftObjectiveC' ld: warning: Could not find or use auto-linked library 'swiftCompatibility51' ld: warning: Could not find or use auto-linked library 'swiftCoreFoundation' ld: warning: Could not find or use auto-linked library 'swiftCompatibility50' ld: warning: Could not find or use auto-linked library 'swiftFileProvider' ld: warning: Could not find or use auto-linked library 'swiftCoreAudio' ld: warning: Could not find or use auto-linked library 'swiftDataDetection' ld: warning: Could not find or use auto-linked library 'swiftSwiftOnoneSupport' ld: warning: Could not find or use auto-linked library 'swiftAVFoundation' ld: warning: Could not find or use auto-linked library 'swiftCore' ld: warning: Could not find or use auto-linked library 'swiftFoundation' ld: warning: Could not find or use auto-linked library 'swiftCoreMedia' ld: warning: Could not find or use auto-linked library 'swiftCoreImage' ld: warning: Could not find or use auto-linked library 'swiftCompatibilityDynamicReplacements' ld: warning: Could not find or use auto-linked library 'swiftsimd' ld: warning: Could not find or use auto-linked library 'swiftUniformTypeIdentifiers' ld: warning: Could not find or use auto-linked library 'swiftCoreMIDI' ld: warning: Could not find or use auto-linked library 'swiftQuartzCore' Undefined symbols for architecture arm64: "swift_FORCELOAD$_swiftCompatibilityDynamicReplacements", referenced from: swift_FORCELOAD$swiftCompatibilityDynamicReplacements$_FBAudienceNetwork in FBAudienceNetwork(FBAudienceNetwork.o) (maybe you meant: swift_FORCELOAD$swiftCompatibilityDynamicReplacements$_FBAudienceNetwork) "swift_FORCELOAD$_swiftCompatibility51", referenced from: swift_FORCELOAD$swiftCompatibility51$_FBAudienceNetwork in FBAudienceNetwork(FBAudienceNetwork.o) (maybe you meant: swift_FORCELOAD$swiftCompatibility51$_FBAudienceNetwork) "swift_FORCELOAD$_swiftCompatibility50", referenced from: swift_FORCELOAD$swiftCompatibility50$_FBAudienceNetwork in FBAudienceNetwork(FBAudienceNetwork.o) (maybe you meant: swift_FORCELOAD$swiftCompatibility50$_FBAudienceNetwork) "swift_FORCELOAD$_swiftUniformTypeIdentifiers", referenced from: swift_FORCELOAD$swiftUniformTypeIdentifiers$_FBAudienceNetwork in FBAudienceNetwork(FBAudienceNetwork.o) (maybe you meant: swift_FORCELOAD$swiftUniformTypeIdentifiers$_FBAudienceNetwork) "swift_FORCELOAD$_swiftAVFoundation", referenced from: swift_FORCELOAD$swiftAVFoundation$_FBAudienceNetwork in FBAudienceNetwork(FBAudienceNetwork.o) (maybe you meant: swift_FORCELOAD$swiftAVFoundation$_FBAudienceNetwork) "swift_FORCELOAD$_swiftDataDetection", referenced from: swift_FORCELOAD$swiftDataDetection$_FBAudienceNetwork in FBAudienceNetwork(FBAudienceNetwork.o) (maybe you meant: swift_FORCELOAD$swiftDataDetection$_FBAudienceNetwork) "swift_FORCELOAD$_swiftCoreMIDI", referenced from: swift_FORCELOAD$swiftCoreMIDI$_FBAudienceNetwork in FBAudienceNetwork(FBAudienceNetwork.o) (maybe you meant: swift_FORCELOAD$swiftCoreMIDI$_FBAudienceNetwork) "swift_FORCELOAD$_swiftsimd", referenced from: swift_FORCELOAD$swiftsimd$_FBAudienceNetwork in FBAudienceNetwork(FBAudienceNetwork.o) (maybe you meant: swift_FORCELOAD$swiftsimd$_FBAudienceNetwork) "swift_FORCELOAD$_swiftFileProvider", referenced from: swift_FORCELOAD$swiftFileProvider$_FBAudienceNetwork in FBAudienceNetwork(FBAudienceNetwork.o) (maybe you meant: swift_FORCELOAD$swiftFileProvider$_FBAudienceNetwork) "swift_FORCELOAD$_swiftMetal", referenced from: swift_FORCELOAD$swiftMetal$_FBAudienceNetwork in FBAudienceNetwork(FBAudienceNetwork.o) (maybe you meant: swift_FORCELOAD$swiftMetal$_FBAudienceNetwork) "swift_FORCELOAD$_swiftCoreImage", referenced from: swift_FORCELOAD$swiftCoreImage$_FBAudienceNetwork in FBAudienceNetwork(FBAudienceNetwork.o) (maybe you meant: swift_FORCELOAD$swiftCoreImage$_FBAudienceNetwork) "swift_FORCELOAD$_swiftCoreGraphics", referenced from: swift_FORCELOAD$swiftCoreGraphics$_FBAudienceNetwork in FBAudienceNetwork(FBAudienceNetwork.o) (maybe you meant: swift_FORCELOAD$swiftCoreGraphics$_FBAudienceNetwork) "swift_FORCELOAD$_swiftQuartzCore", referenced from: swift_FORCELOAD$swiftQuartzCore$_FBAudienceNetwork in FBAudienceNetwork(FBAudienceNetwork.o) (maybe you meant: swift_FORCELOAD$swiftQuartzCore$_FBAudienceNetwork) "swift_FORCELOAD$_swiftDispatch", referenced from: swift_FORCELOAD$swiftDispatch$_FBAudienceNetwork in FBAudienceNetwork(FBAudienceNetwork.o) (maybe you meant: swift_FORCELOAD$swiftDispatch$_FBAudienceNetwork) "swift_FORCELOAD$_swiftCoreFoundation", referenced from: swift_FORCELOAD$swiftCoreFoundation$_FBAudienceNetwork in FBAudienceNetwork(FBAudienceNetwork.o) (maybe you meant: swift_FORCELOAD$swiftCoreFoundation$_FBAudienceNetwork) "swift_FORCELOAD$_swiftFoundation", referenced from: swift_FORCELOAD$swiftFoundation$_FBAudienceNetwork in FBAudienceNetwork(FBAudienceNetwork.o) (maybe you meant: swift_FORCELOAD$swiftFoundation$_FBAudienceNetwork) "_swift_getInitializedObjCClass", referenced from: static FBAudienceNetwork.FBAdFont.sfuiTextRegular(withSize: CoreGraphics.CGFloat) -> C.UIFont in FBAudienceNetwork(FBAudienceNetwork.o) static FBAudienceNetwork.FBAdFont.sfuiDisplaySemibold(withSize: CoreGraphics.CGFloat) -> C.UIFont in FBAudienceNetwork(FBAudienceNetwork.o) type metadata accessor for FBAudienceNetwork.FBAdFont in FBAudienceNetwork(FBAudienceNetwork.o) "swift_FORCELOAD$_swiftObjectiveC", referenced from: swift_FORCELOAD$swiftObjectiveC$_FBAudienceNetwork in FBAudienceNetwork(FBAudienceNetwork.o) (maybe you meant: swift_FORCELOAD$swiftObjectiveC$_FBAudienceNetwork) "_swift_once", referenced from: FBAudienceNetwork.FBAdFont.fontSizeTiny.unsafeMutableAddressor : CoreGraphics.CGFloat in FBAudienceNetwork(FBAudienceNetwork.o) FBAudienceNetwork.FBAdFont.fontSizeExtraSmall.unsafeMutableAddressor : CoreGraphics.CGFloat in FBAudienceNetwork(FBAudienceNetwork.o) FBAudienceNetwork.FBAdFont.fontSizeSmall.unsafeMutableAddressor : CoreGraphics.CGFloat in FBAudienceNetwork(FBAudienceNetwork.o) FBAudienceNetwork.FBAdFont.fontSizeMedium.unsafeMutableAddressor : CoreGraphics.CGFloat in FBAudienceNetwork(FBAudienceNetwork.o) FBAudienceNetwork.FBAdFont.fontSizeLarge.unsafeMutableAddressor : CoreGraphics.CGFloat in FBAudienceNetwork(FBAudienceNetwork.o) FBAudienceNetwork.FBAdFont.fontSizeExtraLarge.unsafeMutableAddressor : CoreGraphics.CGFloat in FBAudienceNetwork(FBAudienceNetwork.o) "swift_FORCELOAD$_swiftCoreAudio", referenced from: swift_FORCELOAD$swiftCoreAudio$_FBAudienceNetwork in FBAudienceNetwork(FBAudienceNetwork.o) (maybe you meant: swift_FORCELOAD$swiftCoreAudio$_FBAudienceNetwork) "swift_FORCELOAD$_swiftDarwin", referenced from: swift_FORCELOAD$swiftDarwin$_FBAudienceNetwork in FBAudienceNetwork(FBAudienceNetwork.o) (maybe you meant: swift_FORCELOAD$swiftDarwin$_FBAudienceNetwork) "_swift_getObjectType", referenced from: FBAudienceNetwork.FBAdFont.init() -> FBAudienceNetwork.FBAdFont in FBAudienceNetwork(FBAudienceNetwork.o) FBAudienceNetwork.FBAdFont.deallocating_deinit in FBAudienceNetwork(FBAudienceNetwork.o) "swift_FORCELOAD$_swiftUIKit", referenced from: swift_FORCELOAD$swiftUIKit$_FBAudienceNetwork in FBAudienceNetwork(FBAudienceNetwork.o) (maybe you meant: swift_FORCELOAD$swiftUIKit$_FBAudienceNetwork) "value witness table for Builtin.UnknownObject", referenced from: full type metadata for FBAudienceNetwork.FBAdFont in FBAudienceNetwork(FBAudienceNetwork.o) "_swift_getObjCClassMetadata", referenced from: @objc static FBAudienceNetwork.FBAdFont.sfuiTextRegular(withSize: CoreGraphics.CGFloat) -> C.UIFont in FBAudienceNetwork(FBAudienceNetwork.o) @objc static FBAudienceNetwork.FBAdFont.sfuiDisplaySemibold(withSize: CoreGraphics.CGFloat) -> C.UIFont in FBAudienceNetwork(FBAudienceNetwork.o) @objc static FBAudienceNetwork.FBAdFont.fontSizeTiny.getter : CoreGraphics.CGFloat in FBAudienceNetwork(FBAudienceNetwork.o) @objc static FBAudienceNetwork.FBAdFont.fontSizeExtraSmall.getter : CoreGraphics.CGFloat in FBAudienceNetwork(FBAudienceNetwork.o) @objc static FBAudienceNetwork.FBAdFont.fontSizeSmall.getter : CoreGraphics.CGFloat in FBAudienceNetwork(FBAudienceNetwork.o) @objc static FBAudienceNetwork.FBAdFont.fontSizeMedium.getter : CoreGraphics.CGFloat in FBAudienceNetwork(FBAudienceNetwork.o) @objc static FBAudienceNetwork.FBAdFont.fontSizeLarge.getter : CoreGraphics.CGFloat in FBAudienceNetwork(FBAudienceNetwork.o) ... "swift_FORCELOAD$_swiftCoreMedia", referenced from: swift_FORCELOAD$swiftCoreMedia$_FBAudienceNetwork in FBAudienceNetwork(FBAudienceNetwork.o) (maybe you meant: swift_FORCELOAD$swiftCoreMedia$_FBAudienceNetwork) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Using Xcode Latest version, ironsource latest version, have tried adding dummy swift file into project also have added search entries into search library
Hi,
I have an issue with AudienceNetwork.
ld: warning: Could not find or use auto-linked library 'swift_Concurrency' ld: warning: Could not find or use auto-linked library 'swiftFileProvider' ld: warning: Could not find or use auto-linked library 'swiftDataDetection' ld: warning: Could not find or use auto-linked framework 'DataDetection' Undefined symbols for architecture arm64: "swift_FORCELOAD$_swiftDataDetection", referenced from: swift_FORCELOAD$swiftDataDetection$_FBAudienceNetwork in FBAudienceNetwork(FBAudienceNetwork.o) (maybe you meant: swift_FORCELOAD$swiftDataDetection$_FBAudienceNetwork) "swift_FORCELOAD$_swiftFileProvider", referenced from: swift_FORCELOAD$swiftFileProvider$_FBAudienceNetwork in FBAudienceNetwork(FBAudienceNetwork.o) (maybe you meant: swift_FORCELOAD$swiftFileProvider$_FBAudienceNetwork)
Use demo app, update applovin sdk, set ids, add AudienceNetwork with the manager.
project.AddBuildProperty(mainTargetGuid, "ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES", "YES"); is being called
xcode 12.5 unity 2020.3.23 Mac os 11.6.
Best regards, Lionel