Quantcast
Channel: Questions in topic: "linker"
Viewing all 122 articles
Browse latest View live

Unity with FMOD iOS build - many linker errors Xcode

$
0
0
Hi to all, I need some help to build my first game with Unity FMOD to iOS. I’ve exported my project in unity and opened it with Xcode, after, i’ve started building but i’ve got an lot of “Match-O Linker” error (201 errors). I haven’t done any modification to the standard Xcode project exported by unity and I don’t have any plugin in my unity project connected to FMOD. The FMOD documentation says that i need to disable Unity Audio (https://fmod.com/resources/documentation-api?page=content/generated/engine_new_unity/troubleshooting.html#/) but i can't because i use it in game with an home-made voiceover... how can i do? here some screenshot of Xcode: https://1drv.ms/f/s!AugIyl84F-ffj_E2SktZpxwDhPKeHw Anyone can help me? Thanks

Apple Mach-O Linker Error when Building

$
0
0
Hello, I am experiencing a rather frustrating problem when attempting to archive my project.. I get about 8 different Mach-O linker errors, and the warning above it gives me "Undefinded symbols for architecture arm64". I am now running unity 2017.1.1.f1 (and Xcode9`enter code here`). Am I incorrect? or is this an entirely different problem? Thank you So much for all your help! The xcode error log is as follows: "__RequestReview", referenced from: _iOSNativeUtility__RequestReview_m1896333161 in Bulk_Assembly-CSharp_0.o _iOSNativeUtility_RequestReview_m2747875467 in Bulk_Assembly-CSharp_0.o _MobileNativeRatingRequest_DoRequestRating_m2903164697 in Bulk_Assembly-CSharp_0.o (maybe you meant: _iOSNativeUtility__RequestReview_m1896333161) "__ExportGif", referenced from: _iOSNativeGif__ExportGif_m2741504153 in Bulk_Assembly-CSharp_0.o (maybe you meant: _iOSNativeGif__ExportGif_m2741504153) "__Share", referenced from: _iOSNativeShare__Share_m942744585 in Bulk_Assembly-CSharp_0.o (maybe you meant: _iOSNativeShare__Share_m942744585) "__IsBuiltinRequestReviewAvail", referenced from: _iOSNativeUtility__IsBuiltinRequestReviewAvail_m1978195582 in Bulk_Assembly-CSharp_0.o _iOSNativeUtility_CanUseBuiltinRequestReview_m411868138 in Bulk_Assembly-CSharp_0.o _MobileNativeRatingRequest_DoRequestRating_m2903164697 in Bulk_Assembly-CSharp_0.o (maybe you meant: _iOSNativeUtility__IsBuiltinRequestReviewAvail_m1978195582) "__Alert", referenced from: _iOSNativeAlert__Alert_m3774758792 in Bulk_Assembly-CSharp_0.o (maybe you meant: _iOSNativeAlert__Alert_m3774758792, _iOSNativeAlert__AlertWithThreeButtons_m1214486776 , _iOSNativeAlert__AlertWithTwoButtons_m3903926792 ) "__AlertWithTwoButtons", referenced from: _iOSNativeAlert__AlertWithTwoButtons_m3903926792 in Bulk_Assembly-CSharp_0.o (maybe you meant: _iOSNativeAlert__AlertWithTwoButtons_m3903926792) "__AlertWithThreeButtons", referenced from: _iOSNativeAlert__AlertWithThreeButtons_m1214486776 in Bulk_Assembly-CSharp_0.o (maybe you meant: _iOSNativeAlert__AlertWithThreeButtons_m1214486776) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Xcode Apple Mach-O linker error 1 __frkparticlePluginSDKProcess

$
0
0
I'm working on a game in unity, i'm using EasyAR, Firebase analytics, OneSignal, LocalAndroidNotifications in the game. The project works fine on Android and I'm able to build apk without any issues. But when I build an ipa from Xcode I get this error Mach - O linker error with exit code 1 and with frkparticlePluginSDKProcess. I'm using unity 2017.3, Xcode 8.3(cannot upgrade to high seirra), I'm using the xcworkspace project as well, Please help.. Thanks!! > `Showing Recent Messages (null): "__frkParticlePluginSDKProcess", referenced from: (null): _ForkParticlePlugin__frkParticlePluginSDKProcess_m2242819565 in Bulk_Assembly-CSharp_1.o (null): _ForkParticlePlugin_Update_m2244463518 in Bulk_Assembly-CSharp_1.o (null): (maybe you meant: _ForkParticlePlugin__frkParticlePluginSDKProcess_m2242819565) (null): "__frkParticlePluginEffectGetGeometry", referenced from: (null): _ForkParticleEffect__frkParticlePluginEffectGetGeometry_m2224267999 in Bulk_Assembly-CSharp_1.o (null): _ForkParticleEffect_Update_m2376990348 in Bulk_Assembly-CSharp_1.o (null): (maybe you meant: _ForkParticleEffect__frkParticlePluginEffectGetGeometry_m2224267999) (null): "__frkParticlePluginGetEffectNumEmitters", referenced from: (null): _ForkParticleEffect__frkParticlePluginGetEffectNumEmitters_m2398252276 in Bulk_Assembly-CSharp_1.o (null): (maybe you meant: _ForkParticleEffect__frkParticlePluginGetEffectNumEmitters_m2398252276) (null): "__frkParticlePluginSDKInit", referenced from: (null): _ForkParticlePlugin__frkParticlePluginSDKInit_m629305421 in Bulk_Assembly-CSharp_1.o (null): _ForkParticlePlugin_Start_m3123852640 in Bulk_Assembly-CSharp_1.o (null): (maybe you meant: _ForkParticlePlugin__frkParticlePluginSDKInit_m629305421) (null): "__frkParticlePluginGetEffectRenderParams", referenced from: (null): _ForkParticleEffect__frkParticlePluginGetEffectRenderParams_m3829680681 in Bulk_Assembly-CSharp_1.o (null): _ForkParticleEffect_Update_m2376990348 in Bulk_Assembly-CSharp_1.o (null): (maybe you meant: _ForkParticleEffect__frkParticlePluginGetEffectRenderParamsNumVertices_m2576394451, _ForkParticleEffect__frkParticlePluginGetEffectRenderParams_m3829680681 , _ForkParticleEffect__frkParticlePluginGetEffectRenderParamsNumIndices_m16229934 ) (null): "__frkParticlePluginEffectRestart", referenced from: (null): _ForkParticleEffect__frkParticlePluginEffectRestart_m498746080 in Bulk_Assembly-CSharp_1.o (null): _ForkParticleEffect_RestartEffect_m3559007917 in Bulk_Assembly-CSharp_1.o (null): (maybe you meant: _ForkParticleEffect__frkParticlePluginEffectRestart_m498746080) (null): "__frkParticlePluginGetEffectRenderParamsNumVertices", referenced from: (null): _ForkParticleEffect__frkParticlePluginGetEffectRenderParamsNumVertices_m2576394451 in Bulk_Assembly-CSharp_1.o (null): _ForkParticleEffect_Update_m2376990348 in Bulk_Assembly-CSharp_1.o (null): (maybe you meant: _ForkParticleEffect__frkParticlePluginGetEffectRenderParamsNumVertices_m2576394451) (null): "__frkParticlePluginGetEffectRenderParamsNumIndices", referenced from: (null): _ForkParticleEffect__frkParticlePluginGetEffectRenderParamsNumIndices_m16229934 in Bulk_Assembly-CSharp_1.o (null): _ForkParticleEffect_Update_m2376990348 in Bulk_Assembly-CSharp_1.o (null): (maybe you meant: _ForkParticleEffect__frkParticlePluginGetEffectRenderParamsNumIndices_m16229934) (null): "_RegisterSetTextureNameCB", referenced from: (null): _ForkParticleEffect_RegisterSetTextureNameCB_m3139744389 in Bulk_Assembly-CSharp_1.o (null): _ForkParticleEffect_ForkEffectCreate_m3291628763 in Bulk_Assembly-CSharp_1.o (null): (maybe you meant: _ForkParticleEffect_RegisterSetTextureNameCB_m3139744389) (null): "__frkParticlePluginCreateEffect", referenced from: (null): _ForkParticleEffect__frkParticlePluginCreateEffect_m3330251313 in Bulk_Assembly-CSharp_1.o (null): _ForkParticleEffect_ForkEffectCreate_m3291628763 in Bulk_Assembly-CSharp_1.o (null): (maybe you meant: _ForkParticleEffect__frkParticlePluginCreateEffect_m3330251313) (null): "__frkParticlePluginEffectFreeze", referenced from: (null): _ForkParticleEffect__frkParticlePluginEffectFreeze_m2361259318 in Bulk_Assembly-CSharp_1.o (null): _ForkParticleEffect_EffectFreeze_m291218192 in Bulk_Assembly-CSharp_1.o (null): (maybe you meant: _ForkParticleEffect__frkParticlePluginEffectFreeze_m2361259318) (null): "__frkParticlePluginDestroyEffect", referenced from: (null): _ForkParticleEffect__frkParticlePluginDestroyEffect_m1482507844 in Bulk_Assembly-CSharp_1.o (null): _ForkParticleEffect_OnDestroy_m3241200816 in Bulk_Assembly-CSharp_1.o (null): (maybe you meant: _ForkParticleEffect__frkParticlePluginDestroyEffect_m1482507844) (null): "__frkParticlePluginSetEffectScale", referenced from: (null): _ForkParticleEffect__frkParticlePluginSetEffectScale_m1098442920 in Bulk_Assembly-CSharp_1.o (null): _ForkParticleEffect_Update_m2376990348 in Bulk_Assembly-CSharp_1.o (null): (maybe you meant: _ForkParticleEffect__frkParticlePluginSetEffectScale_m1098442920) (null): "__frkParticlePluginEffectIsAlive", referenced from: (null): _ForkParticleEffect__frkParticlePluginEffectIsAlive_m3024333468 in Bulk_Assembly-CSharp_1.o (null): _ForkParticleEffect_IsEffectAlive_m1049921590 in Bulk_Assembly-CSharp_1.o (null): (maybe you meant: _ForkParticleEffect__frkParticlePluginEffectIsAlive_m3024333468) (null): "__frkParticlePluginClearEffect", referenced from: (null): _ForkParticleEffect__frkParticlePluginClearEffect_m526368207 in Bulk_Assembly-CSharp_1.o (null): _ForkParticleEffect_OnDisable_m757429164 in Bulk_Assembly-CSharp_1.o (null): _ForkParticleEffect_OnEnable_m3990657943 in Bulk_Assembly-CSharp_1.o (null): _ForkParticleEffect_ClearForkEffect_m871438803 in Bulk_Assembly-CSharp_1.o (null): (maybe you meant: _ForkParticleEffect__frkParticlePluginClearEffect_m526368207) (null): "__frkParticlePluginSetEffectView", referenced from: (null): _ForkParticlePlugin__frkParticlePluginSetEffectView_m14219419 in Bulk_Assembly-CSharp_1.o (null): _ForkParticlePlugin_Update_m2244463518 in Bulk_Assembly-CSharp_1.o (null): (maybe you meant: _ForkParticlePlugin__frkParticlePluginSetEffectView_m14219419) (null): "__frkParticlePluginPlayEffect", referenced from: (null): _ForkParticleEffect__frkParticlePluginPlayEffect_m375094580 in Bulk_Assembly-CSharp_1.o (null): _ForkParticleEffect_PlayEffect_m623732507 in Bulk_Assembly-CSharp_1.o (null): (maybe you meant: _ForkParticleEffect__frkParticlePluginPlayEffect_m375094580) (null): "__frkParticlePluginSetEffectMatrix", referenced from: (null): _ForkParticleEffect__frkParticlePluginSetEffectMatrix_m3824527609 in Bulk_Assembly-CSharp_1.o (null): _ForkParticleEffect_Update_m2376990348 in Bulk_Assembly-CSharp_1.o (null): (maybe you meant: _ForkParticleEffect__frkParticlePluginSetEffectMatrix_m3824527609) (null): "__frkParticlePluginSetEffectEnable", referenced from: (null): _ForkParticleEffect__frkParticlePluginSetEffectEnable_m1231301393 in Bulk_Assembly-CSharp_1.o (null): _ForkParticleEffect_ForkEffectCreate_m3291628763 in Bulk_Assembly-CSharp_1.o (null): _ForkParticleEffect_OnDisable_m757429164 in Bulk_Assembly-CSharp_1.o (null): _ForkParticleEffect_EnableEffect_m3317811856 in Bulk_Assembly-CSharp_1.o (null): _ForkParticleEffect_PlayEffect_m623732507 in Bulk_Assembly-CSharp_1.o (null): (maybe you meant: _ForkParticleEffect__frkParticlePluginSetEffectEnable_m1231301393) (null): "__frkParticlePluginSetEffectColor", referenced from: (null): _ForkParticleEffect__frkParticlePluginSetEffectColor_m447936964 in Bulk_Assembly-CSharp_1.o (null): _ForkParticleEffect_SetEffectColor_m4147690511 in Bulk_Assembly-CSharp_1.o (null): (maybe you meant: _ForkParticleEffect__frkParticlePluginSetEffectColor_m447936964) (null): "__frkParticlePluginSDKShutdown", referenced from: (null): _ForkParticlePlugin__frkParticlePluginSDKShutdown_m3748635635 in Bulk_Assembly-CSharp_1.o (null): _ForkParticlePlugin_ShutDownForkSDK_m1841251681 in Bulk_Assembly-CSharp_1.o (null): (maybe you meant: _ForkParticlePlugin__frkParticlePluginSDKShutdown_m3748635635) (null): "__frkParticlePluginEffectPrepareGeometry", referenced from: (null): _ForkParticleEffect__frkParticlePluginEffectPrepareGeometry_m3305810365 in Bulk_Assembly-CSharp_1.o (null): _ForkParticleEffect_Update_m2376990348 in Bulk_Assembly-CSharp_1.o (null): (maybe you meant: _ForkParticleEffect__frkParticlePluginEffectPrepareGeometry_m3305810365) (null): "__frkParticlePluginGetEffectTexturePointer", referenced from: (null): _ForkParticleEffect__frkParticlePluginGetEffectTexturePointer_m4050977446 in Bulk_Assembly-CSharp_1.o (null): _ForkParticleEffect_PassTexturePointerToFork_m2059608998 in Bulk_Assembly-CSharp_1.o (null): (maybe you meant: _ForkParticleEffect__frkParticlePluginGetEffectTexturePointer_m4050977446) (null): Symbol(s) not found for architecture armv7 (null): Linker command failed with exit code 1 (use -v to see invocation) `

How to test on iOS simulator?

$
0
0
Is it possible to test Unity game in Xcode 9.2 iPhone Simulator? Xcode project is built and archived OK on Generic device, but when I try to launch game on Simulator it gives me linker error ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) [full build log][1],Is it possible to test Unity game in Xcode 9.2 iPhone Simulator? Xcode project is built and archived OK on Generic device, but when I try to launch game on Simulator it gives me linker error ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) [full build log][1] [1]: /storage/temp/116401-buildtxt.zip

Apple Mach-O Linker(Id) Error when building Unity project

$
0
0
I am trying to build a Unity AR project onto my iPhone SE. However, I am getting the following error. Undefined symbols for architecture arm64: "void RegisterClass(char const*)", referenced from: RegisterAllClasses() in UnityClassRegistration.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) I checked and found there is a cpp file UnityClassRegistration under the Native folder. It has a line `class WorldAnchor; template <> void RegisterClass(const char*); ` I am on Unity 2018.1.1 . Removing the class WorldAnchor lets me get past this error. But I want to know why this error is appearing in the first place. Do I need to add something to the Unity scene to get past this error? My Xcode version is 9.4 .

iOS LocationManager Framework not included

$
0
0
I make a bluetooth asset. I am now including support for iBeacon which requires the use of LocationManager on iOS. I just built my application in 2018.2.13f and when I try to build in xcode I get a linker error that the CLLocationManager objects are missing when linking. I click on my .mm file in the plugin folder and check the frameworks and CoreLocation is checked. In fact you can't uncheck it. I also have included the Location Services description on the project settings for iOS. This exactly same project builds fine when I build with Unity 5.6 and 2017 and 2018.1.6. It does not work in 2018.2.9 or 2018.2.13. If I manually add the CoreLocation framework to the xcode project after building from Unity then it builds fine. Why is Unity 2018 not including the CoreLocation framework when it says it should in settings?

xCode error

$
0
0
Dear all : My xCode project run into linker error these two days. After googling and trying many suggestions, nothing works. So may anyone give a help about where to fix this problem. I used Unity 2017.4.13f1 to generate iOS xCode project. Really appreciate your support. Below is the error message generated from xCode Archieve (xCode 10.0). Undefined symbols for architecture armv7: "_OBJC_CLASS_$_GADRewardBasedVideoAd", referenced from: objc-class-ref in GADURewardBasedVideoAd.o "_OBJC_CLASS_$_GADBannerView", referenced from: objc-class-ref in GADUBanner.o "_GADAdSizeFullWidthPortraitWithHeight", referenced from: +[GADUPluginUtil adSizeForWidth:height:] in GADUPluginUtil.o "_CGSizeFromGADAdSize", referenced from: +[GADUPluginUtil safeAdSizeForAdSize:] in GADUPluginUtil.o "_GADAdSizeEqualToSize", referenced from: +[GADUPluginUtil safeAdSizeForAdSize:] in GADUPluginUtil.o "_kGADAdSizeSmartBannerLandscape", referenced from: +[GADUPluginUtil safeAdSizeForAdSize:] in GADUPluginUtil.o -[GADUBanner initWithSmartBannerSizeAndBannerClientReference:adUnitID:adPosition:] in GADUBanner.o -[GADUBanner initWithSmartBannerSizeAndBannerClientReference:adUnitID:customAdPosition:] in GADUBanner.o "_GADAdSizeFromCGSize", referenced from: +[GADUPluginUtil safeAdSizeForAdSize:] in GADUPluginUtil.o +[GADUPluginUtil adSizeForWidth:height:] in GADUPluginUtil.o "_OBJC_CLASS_$_GADAdLoader", referenced from: objc-class-ref in GADUAdLoader.o "_kGADAdSizeSmartBannerPortrait", referenced from: -[GADUBanner initWithSmartBannerSizeAndBannerClientReference:adUnitID:adPosition:] in GADUBanner.o -[GADUBanner initWithSmartBannerSizeAndBannerClientReference:adUnitID:customAdPosition:] in GADUBanner.o "_kGADSimulatorID", referenced from: -[GADURequest addTestDevice:] in GADURequest.o "_OBJC_CLASS_$_GADExtras", referenced from: objc-class-ref in GADURequest.o "_OBJC_CLASS_$_GADInterstitial", referenced from: objc-class-ref in GADUInterstitial.o "_OBJC_CLASS_$_GADRequest", referenced from: objc-class-ref in GADURequest.o "_kGADAdLoaderAdTypeNativeCustomTemplate", referenced from: _GADUCreateAdLoader in GADUInterface.o "_OBJC_CLASS_$_GADMobileAds", referenced from: objc-class-ref in GADUInterface.o ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Linker error - Unity on iOS/React Native project

$
0
0
I started a project using [react-native-unity-view][1] and Unity/Vuforia, but I'm getting this linking error on XCode:

`Undefined symbols for architecture armv7: "_SetUnityiOS81orNewerBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityiOS82orNewerBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityiOS100orNewerBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityiOS101orNewerBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetCrashedCheckBelowForHintsWhyBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityGetAppLoadAddressBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityGetAppLoadCommandAddressBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityInitJoysticksBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityUpdateAccelerometerDataBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityIsGyroEnabledBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityUpdateJoystickDataBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityGetJoystickNameBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetIsCompensatingSensorsBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityMaxQueuedAccelerationEventsBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityGetMainWindowBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetSetCompensatingSensorsBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityRequestQuitBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityInitMainScreenRenderingCallbackBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityIsGyroAvailableBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityGetMetalBundleBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityCoreMotionStartBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityUpdateGyroDataBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityGetMetalDrawableCommandQueueBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityGetDataContextEAGLBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityBackbufferColorBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityDestroyDisplayLinkBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityBackbufferDepthBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetDisplayManagerEndFrameRenderingBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetAcquireDrawableMTLBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityiOS91orNewerBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityMakeCurrentContextEAGLBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityiOS110orNewerBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityStartActivityIndicatorBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityStopActivityIndicatorBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityKeyboard_CreateBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityKeyboard_ShowBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityKeyboard_HideBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityKeyboard_GetRectBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityKeyboard_SetTextBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityKeyboard_GetTextBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityKeyboard_IsInputHiddenBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityKeyboard_SetCharacterLimitBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityGetMetalCommandQueueBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityKeyboard_CanGetSelectionBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityKeyboard_CanSetSelectionBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetLocationServiceSetDesiredAccuracyBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityOnDemandResourcesSetLoadingPriorityBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityNotifyHideHomeButtonChangeBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityGetNiceKeynameBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityKeyboard_IsActiveBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityRequestStoreReviewBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityInitCameraCaptureBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityReplayKitStartBroadcastingBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityStartCameraCaptureBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityiOS111orNewerBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityGetGLViewControllerBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityReplayKitHideCameraPreviewBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityGetAVCapturePermissionBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetLocationServiceGetDistanceFilterBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityRequestAVCapturePermissionBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityVendorIdentifierBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityStopCameraCaptureBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityFramerateChangeCallbackBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityReplayKitShowCameraPreviewAtBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityCameraCaptureExtentsBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnitySendWWWConnectionBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityDeviceUniqueIdentifierBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityAdvertisingTrackingEnabledBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityReplayKitStopBroadcastingBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityDisplayManager_DisplaySystemResolutionBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityDeviceNameBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetLocationServiceStartUpdatingLocationBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityDisplayManager_PrimaryDisplayIndexBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityDeviceCPUCountBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityiOS102orNewerBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityDeviceSupportedOrientationsBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityDeviceIsStylusTouchSupportedBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityGetJoystickCountBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityPrepareScreenshotBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnitySystemLanguageBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityEnumVideoCaptureDevicesBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityGetMainScreenContextGLESBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityStartFrameRenderingBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnitySystemNameBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityKeyboard_SetSelectionBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityDisplayManager_DisplayRenderingBuffersBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityDestroyUnityRenderSurfacesBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityPresentContextCallbackBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityDisplayManager_DisplayCountBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetLocationServiceIsServiceEnabledByUserBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityDeviceCanShowWideColorBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityDisplayManager_DisplayRenderingResolutionBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityDisplayManager_SetRenderingResolutionBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityLibraryDirBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityiOS112orNewerBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityStartWWWConnectionCustomBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityUpdateNoBackupFlagBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityOnDemandResourcesGetProgressBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityApplicationDirBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetLocationServiceGetDesiredAccuracyBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityAdvertisingIdentifierBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityOnDemandResourcesGetLoadingPriorityBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityDeviceDPIBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityReplayKitIsMicrophoneEnabledBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetRegisterStaticallyLinkedModulesGranularBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityOnDemandResourcesGetResourcePathBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityReplayKitCreateOverlayWindowBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityReplayKitRecordingAvailableBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityCameraCaptureVerticallyMirroredBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityShouldCancelWWWBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityiOS103orNewerBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityReplayKitStartRecordingBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityBlockWWWConnectionIsDoneBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityReplayKitDiscardBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityDisplayManager_DisplayActiveBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityReplayKitIsRecordingBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnitySetGyroUpdateIntervalBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnitySelectedRenderingAPIBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityReplayKitBroadcastingAPIAvailableBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityCoreMotionStopBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityGetJoystickAxisNameBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityDestroyWWWConnectionBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityGetContextEAGLBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityReplayKitPreviewBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityAddNewMetalAPIImplIfNeededBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityWWWClearCookieCacheBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityReplayKitSetMicrophoneEnabledBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityiOS90orNewerBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityCachesDirBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityCameraCaptureReadToMemoryBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityCameraCaptureSetAutoFocusPointBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityReplayKitGetBroadcastURLBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetLocationServiceGetLocationStatusBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityReplayKitSetCameraEnabledBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityNotifyDeferSystemGesturesChangeBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityDocumentsDirBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetLocationServiceGetHeadingStatusBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityGetMetalDeviceBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetLocationServiceSetDistanceFilterBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetLocationServiceIsHeadingAvailableBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityReplayKitIsCameraEnabledBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityGetCurrentContextEAGLBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityReplayKitLastErrorBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityPauseCameraCaptureBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityCameraCaptureVideoRotationDegBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetGetLaunchImageNamesBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetLocationServiceStopUpdatingLocationBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityGetAppLoadCommandCountBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityGfxInitedCallbackBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityPlayFullScreenVideoBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnity_il2cppNoExceptionsBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityGetGyroUpdateIntervalBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityKeyboard_GetSelectionBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityFontFallbacksBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityOnDemandResourcesCreateRequestBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityDeviceGenerationBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetLocationServiceSetHeadingUpdatesEnabledBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityKeyboard_StatusBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityDeviceModelBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityIsFullScreenPlayingBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityGetGLViewBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityKeyboard_SetInputHiddenBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetLocationServiceIsHeadingUpdatesEnabledBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityOnDemandResourcesReleaseBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityReplayKitIsBroadcastingBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityReplayKitAPIAvailableBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnitySystemVersionBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o "_SetUnityReplayKitStopRecordingBody", referenced from: _SetAllUnityFunctionsForDynamicPlayerLib in DynamicLibEngineAPI.o ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation `

Could not found anything related, does anyone know where is this library from?

**What I'm using**

- react: 16.6.3 - react-native: 0.58.3 - Unity: 2018.3.3f1 - Vuforia: 8.0.10

**What I tried**

- Clean XCode project - Remove ~/Library/Developer/Xcode/DerivedData - Remove the Unity project from XCode - Export the project from Unity again - Relink react-native-unity-view [1]: https://github.com/f111fei/react-native-unity-view

Build Error

$
0
0
When I try to build my game for IOS I have this error, please help. **Failed running /Applications/Unity/Hub/Editor/2019.3.0a8/Unity.app/Contents/il2cpp/build/UnityLinker.exe -out="/Users/artemvostrenkov/101/Temp/StagingArea/Data/Managed/tempStrip" -x="/Users/artemvostrenkov/101/Temp/StagingArea/Data/Managed/../platform_native_link.xml" -x="/var/folders/2v/g9gps0957xn4x3x85dppx1q00000gn/T/tmp4ff1a44b.tmp" -x="/var/folders/2v/g9gps0957xn4x3x85dppx1q00000gn/T/tmp6cdfea82.tmp" -x="/Users/artemvostrenkov/101/Temp/StagingArea/Data/Managed/TypesInScenes.xml" -d="/Users/artemvostrenkov/101/Temp/StagingArea/Data/Managed" --include-unity-root-assembly="/Users/artemvostrenkov/101/Temp/StagingArea/Data/Managed/Assembly-CSharp-firstpass.dll" --include-unity-root-assembly="/Users/artemvostrenkov/101/Temp/StagingArea/Data/Managed/Assembly-CSharp.dll" --include-unity-root-assembly="/Users/artemvostrenkov/101/Temp/StagingArea/Data/Managed/Unity.2D.Animation.Runtime.dll" --include-unity-root-assembly="/Users/artemvostrenkov/101/Temp/StagingArea/Data/Managed/Unity.2D.IK.Runtime.dll" --include-unity-root-assembly="/Users/artemvostrenkov/101/Temp/StagingArea/Data/Managed/UnityEngine.UI.dll" --include-unity-root-assembly="/Users/artemvostrenkov/101/Temp/StagingArea/Data/Managed/Unity.Entities.Hybrid.dll" --dotnetruntime=il2cpp --dotnetprofile=unityaot --use-editor-options --include-directory="/Users/artemvostrenkov/101/Temp/StagingArea/Data/Managed" --rule-set=Conservative --editor-data-file="/Users/artemvostrenkov/101/Temp/StagingArea/Data/Managed/EditorToUnityLinkerData.json" --platform=iOS --architecture=ARM64 --enable-engine-module-stripping --engine-stripping-flag=EnableUnityConnect --engine-stripping-flag=EnableCrashReporting --engine-modules-asset-file="/Applications/Unity/Hub/Editor/2019.3.0a8/PlaybackEngines/iOSSupport/Whitelists/../modules.asset" stdout: Fatal error in Unity CIL Linker System.InvalidOperationException: Failed to resolve type for type in scene information : [Unity.2D.IK.Runtime.dll] UnityEditor.Experimental.U2D.IK.IKEditorManagerHelper at Unity.Linker.EngineStripping.EngineStrippingAnnotations.AddTypeInScene (UnityEditorInternal.EditorToLinkerData+TypeInSceneData typeInSceneData) [0x0015d] in <2c2fcb8f413545abb24b024a1139309a>:0 at Unity.Linker.Steps.InitializeEngineStrippingStep.LoadEditorData (Unity.Linker.UnityLinkContext context) [0x000af] in <2c2fcb8f413545abb24b024a1139309a>:0 at Unity.Linker.Steps.InitializeEngineStrippingStep.Process () [0x0001d] in <2c2fcb8f413545abb24b024a1139309a>:0 at Mono.Linker.Steps.BaseStep.Process (Mono.Linker.LinkContext context) [0x00018] in <08bc5fff6ffc41818ceca51bc346620e>:0 at Mono.Linker.Pipeline.ProcessStep (Mono.Linker.LinkContext context, Mono.Linker.Steps.IStep step) [0x0000e] in <08bc5fff6ffc41818ceca51bc346620e>:0 at Unity.Linker.UnityPipeline.ProcessStep (Mono.Linker.LinkContext context, Mono.Linker.Steps.IStep step) [0x00018] in <2c2fcb8f413545abb24b024a1139309a>:0 at Mono.Linker.Pipeline.Process (Mono.Linker.LinkContext context) [0x00014] in <08bc5fff6ffc41818ceca51bc346620e>:0 at Unity.Linker.UnityDriver.Run () [0x000c4] in <2c2fcb8f413545abb24b024a1139309a>:0 at Unity.Linker.UnityDriver.RunDriverWithoutErrorHandling () [0x00007] in <2c2fcb8f413545abb24b024a1139309a>:0 at Unity.Linker.UnityDriver.RunDriver () [0x00002] in <2c2fcb8f413545abb24b024a1139309a>:0 stderr: UnityEngine.Debug:LogError(Object) UnityEditorInternal.Runner:RunProgram(Program, String, String, String, CompilerOutputParserBase) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:126) UnityEditorInternal.Runner:RunManagedProgram(String, String, String, CompilerOutputParserBase, Action`1) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:71) UnityEditorInternal.AssemblyStripper:RunAssemblyLinker(IEnumerable`1, String&, String&, String, String) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:218) UnityEditorInternal.AssemblyStripper:StripAssembliesTo(String[], String[], String, String, String&, String&, String, IIl2CppPlatformProvider, IEnumerable`1, BuildTargetGroup, ManagedStrippingLevel, Boolean, String) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:150) UnityEditorInternal.AssemblyStripper:RunAssemblyStripper(IEnumerable, String, String[], String[], String, IIl2CppPlatformProvider, RuntimeClassRegistry, ManagedStrippingLevel) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:354) UnityEditorInternal.AssemblyStripper:StripAssemblies(String, IIl2CppPlatformProvider, RuntimeClassRegistry, ManagedStrippingLevel) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:242) UnityEditorInternal.IL2CPPBuilder:Run() (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:325) UnityEditorInternal.IL2CPPUtils:RunIl2Cpp(String, String, IIl2CppPlatformProvider, Action`1, RuntimeClassRegistry) (at**

UniClipboard iOS Compile issue - Undefined symbols for architecture armv7

$
0
0
I'm trying to add clipboard support for my game in iOS. I'm having a problem compiling the plugin located here: https://github.com/sanukin39/UniClipboard The code works fine on Windows, but I am having problems getting my iOS (xCode) project to build. Note: For the xCode build, I made sure to copy the Clipper.m class to the xCode Classes directory. I'm also using Unity 2019.2.10f1. I'm getting what i think is a linker related problem, with the below error message when compiling a build: Undefined symbols for architecture armv7: "_GetText_", referenced from: _IOSBoard_GetText__mA13281C8A5A65250167530FBB150264D041AB6E7 in Assembly-CSharp5.o _IOSBoard_GetText_mF78C1DC7C37548EADD02058A637EF76C5911C6E7 in Assembly-CSharp5.o (maybe you meant: _DownloadHandlerAssetBundle_GetText_m0144E0707A55ADBBC66C19DC5D6221D3223F84A6 ....(etc) and "_SetText_", referenced from: _IOSBoard_SetText__m7FBF011174C431B25DD980E66548A7986C11A6D4 in Assembly-CSharp5.o _IOSBoard_SetText_m0AC57A1A382A2C63858031C8C4FCEF19F908E640 in Assembly-CSharp5.o (maybe you meant: _InputField_SetText_mEF14F85B3A852C7BB42625B5982DB4BFEBAF313F , _TMP_Text_SetText_mE31395C5506EA24624808AC2B8F97E23088E7CA7 , _TMP_Text_SetText_m81695E980F258FE71614F039212E0E13735E71CA , _TMP_Text_SetText_m019D59D1F9793BFFBD1FD19528417B703B6493DA , _TMP_InputField_SetText_m443EDC83FCAD9F1151E238C7A1C03888C2F461FE ...(etc) , _StandardBoard_SetText_m703CE0C4095C8CBB2827A864B830D2DB62D33C17_MetadataUsageId , _UniClipboard_SetText_mC68D9BFBF3BB1294141A9C489F0F30C936C8810E_MetadataUsageId , _UniClipboard_SetText_mC68D9BFBF3BB1294141A9C489F0F30C936C8810E ) ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation) Does anyone have any suggestions on what I am doing wrong? How can i fix this? Cheers! Navil

Apple Mach-O Linker (ld) Error: Linker Command Failed

$
0
0
Hey, I'd really like to see an answer on this. I have the same problem and I can't get around it. ##My Info## I've updated Unity to version 2019.3.7f1 and Xcode version 11.3.1. ##Referenced Posts and Attempts## ####Attempt #1#### This post mentions two things I have no idea where they are, maybe that will help or maybe its mentioning features only available in the referenced outdated version of Unity? 1. choose in player setting under other settings : universal platform and IL2CPP 2. update all plugins as these need to support arm64 https://answers.unity.com/questions/912000/apple-mach-o-linker-error-when-building.html ###Attempt #2### Next, I tried what this post mentioned which was enabling module and disable bitcode: https://answers.unity.com/questions/1381020/apple-mach-o-linker-id-error-1.html ###Attempt #3### I set the Scripting Backend to IL2CPP (Defaults to Mono (2.x)) and Architecture to Universal as mentioned here: https://answers.unity.com/questions/788331/xcode-511-missing-architectures-arm64.html?_ga=2.208111634.1688457181.1585673871-1609956356.1584999078 ###Attempt #4### I reset architecture settings to standard and build active architecture as this mentions: https://stackoverflow.com/questions/22331908/xcode-5-1-missing-required-architecture-arm64 ###Attempt #5### I deleted the library search paths as mentioned here: https://stackoverflow.com/questions/16644982/apple-mach-o-linker-warning-directory-not-found ###Attempt #6### I'm not really willing to downgrade Xcode as this suggests: https://answers.unity.com/questions/1412715/apple-mach-o-linker-error-when-building-1.html ###Attempt #7### I tried changing the ... thingy up in the top left...it's like a button that states [Unity iPhone > iPhone] as opposed to a simulator or "General Device". (Looks like @MrRetroCentral put the solution that worked for him on many posts). https://answers.unity.com/questions/706942/apple-mach-o-linker-error-3.html https://answers.unity.com/questions/349669/apple-mach-o-linker-id-error.html https://answers.unity.com/questions/323051/apple-mach-o-linker-error-during-build.html https://answers.unity.com/questions/837069/unity-46beta-mach-o-linker-errors.html ###Attempt #8### Someone here mentioned using some Native Sharing Plugins from a Github Repo, but I don't know how to use them: https://github.com/NicholasSheehan/Unity-Native-Sharing ###Attempt #9### Here @rathodjignesh1805 merely tells you to expand two things, which...not sure how that's helpful. I think we're missing a step on what to do with the expanded sections. https://answers.unity.com/questions/1336791/apple-mach-o-linker-ld-error-group.html ###Attempt #10### Since my issue is related to Duplicate Architecture Symbols, I switched No Common Blocks to 'No' and I still get the Apple Mach-O Linker Error. https://stackoverflow.com/questions/16427024/duplicate-symbols-for-architecture-armv7 ###Attempt #11### I ran the pack uninstaller as someone recommended in this post yet found I don't have anything called 'Ads' at all: https://stackoverflow.com/questions/35723861/unity-ads-error-from-unity-to-xcode-build ###Other People's Attempts to Ask Answer.Unity.com### Here are posts from poor souls who never got an answer: https://answers.unity.com/questions/1574708/how-to-solve-xcode-apple-mach-o-linker-id-error.html https://answers.unity.com/questions/1075727/apple-mach-o-linker-id-errors.html https://answers.unity.com/questions/999733/64bit-architecture-lead-to-problems.html https://answers.unity.com/questions/534784/apple-mach-o-linker-error-in-xcode-due-to-game-cen.html https://answers.unity.com/questions/1345370/xcode-apple-mach-o-linker-error-library-not-found.html https://answers.unity.com/questions/180064/apple-mach-o-linker-error.html ###Summation### I am stuck I have no idea what to do. Please help me. I'm so desperate! Where do I throw my money!? In all honesty, thank you for your time! I get the following error message: ![alt text][1] [1]: /storage/temp/155660-screen-shot-2020-04-01-at-21857-pm.png

Cloud Build warning: Can't find custom attr constructor image

$
0
0
I have an iOS build target set up in Unity Cloud Build. The build is passing, and the built player is running without any obvious issue. However, the build log is filled with warning lines like this: `Can't find custom attr constructor image: /BUILD_PATH/derploid.highhandholdem.android-dev/HighHandHoldem/Library/PackageCache/com.unity.ads@3.4.4/Editor/UnityEditor.Advertisements.dll mtoken: 0x0a00000f due to: assembly:/UNITY_PATH/Unity/macos/published/Unity-2019_3_0f6/Unity.app/Contents/Managed/UnityEngine/UnityEngine.CoreModule.dll type:UnityAPICompatibilityVersionAttribute member:void {0}(string,string[]) signature:.ctor` This same message appears probably 2 or 3 dozen times in the Compact Log, and its really getting in the way of other, "substantial" log messages. I am using the IL2CPP scripting backend, and I've installed the Unity Ads package. As far as I can tell, this warning is saying that it had issues generating C++ from the Unity Ads IL because the `UnityAPICompatibilityVersionAttribute`constructor was missing. I've tried adding a `link.xml` file to try and preserve that constructor, but unfortunately none of the following have worked: - `` - `` - `` - `` - `` I have _not_ tried using `preserve="all"` on the full `UnityEngine` or `UnityEngine.CoreModule` assemblies, as that seems like a cludge. Hoping someone familiar with Cloud Build and/or IL2CPP can help me out here...

Undefined symbol for architecture arm64: linker failure

$
0
0
Hi, so I have been trying to fix this error for the past 2 hours now and result in only failures. Here's the screenshot of the error message from XCode: ![alt text][1] [1]: /storage/temp/165546-screen-shot-2020-08-14-at-101927-pm.png I notice it says _PlayerSettingMenuManager_InitializePCOnlyReferences. This is a script that I have deleted everywhere in the project, so I am very confused where does the compiler even includes this script from. My guess is that it is something wrong with conditional compilation since the game does build on Mac. I am not really familiar with linker, so I would really appreciate any sort of help. Thanks!

Xcode - Mach-O Linker Error after upgrade to Unity 2019.4 (LTS)

$
0
0
I have a problem with build the project for iOS with Unity 2019.4.5 and even with 2020.1.3 The build is success with Unity 2018.4.19, so I guess something was changed in build process. I have a static library named libSkyTrakSW.a, and linking errors are related to this library: ![alt text][1] [1]: https://forum.unity.com/attachments/upload_2020-8-29_18-43-51-png.690137/ I've used the same project and static library in Unity 2018.4 and 2019.4, so, that is why I think something changed in il2cpp build process.

Unity linker error for DLL in android build

$
0
0
Hello, I have an android project with a DLL, never had any problems and everything seemed to work. I wanted to obfuscate the DLL so I used ConfuserEx. The obfuscation seems to work when I tried to decompile it, and the game does work in the editor. But, when I tried to build an apk I got these errors(Using editor 2019.2.12f1): 1: Failed running ...\2019.2.12f1\Editor\Data\il2cpp\build/UnityLinker.exe -out=.../Temp/StagingArea/assets/bin/Data/Managed/tempStrip -x=".../2019.2.12f1/Editor/Data/PlaybackEngines/AndroidPlayer/Whitelists/Core.xml" -x=.../Temp/StagingArea/assets/bin/Data/Managed/../platform_native_link.xml -x=.../AppData/Local/Temp/tmp1006393f.tmp - x=.../AppData/Local/Temp/tmp453773c4.tmp -x=.../Temp/StagingArea/assets/bin/Data/Managed/TypesInScenes.xml - x=...Assets/FacebookSDK/link.xml - x=.../Assets/Firebase/Plugins/Crashlytics/link.xml - d=.../Temp/StagingArea/assets/bin/Data/Managed --include-unity-root-assembly=.../Temp/StagingArea/assets/bin/Data/Managed/Assembly-CSharp.dll --include-unity-root-assembly=.../Temp/StagingArea/assets/bin/Data/Managed/UnityEngine.UI.dll --include-unity-root-assembly=.../Temp/StagingArea/assets/bin/Data/Managed/GoogleMobileAds.dll --include-unity-root-assembly=.../Temp/StagingArea/assets/bin/Data/Managed/com.unity.multiplayer-hlapi.Runtime.dll --include-unity-root-assembly=.../Temp/StagingArea/assets/bin/Data/Managed/DOTween.dll --include-unity-root-assembly=.../Temp/StagingArea/assets/bin/Data/Managed/Facebook.Unity.Settings.dll --include-unity-root-assembly=.../Temp/StagingArea/assets/bin/Data/Managed/TheLib.dll --dotnetruntime=il2cpp --dotnetprofile=unityaot --use-editor-options --include-directory=.../Temp/StagingArea/assets/bin/Data/Managed --rule-set=Conservative --editor-data-file=.../Temp/StagingArea/assets/bin/Data/Managed/EditorToUnityLinkerData.json --disable-engine-module-support --enable-engine-module-stripping --engine-stripping-flag=EnableUnityConnect --engine-modules-asset-file=".../2019.2.12f1/Editor/Data/PlaybackEngines/AndroidPlayer/Whitelists/../modules.asset" stdout: Fatal error in Unity CIL Linker Mono.Linker.MarkException: Error processing method: 'System.Void _jdH6XFQzs1D68CySVxMYTrJdkXH`2::.ctor()' in assembly: 'TheLib.Sdk.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve System.Collections.Generic.Dictionary`2<,> _jdH6XFQzs1D68CySVxMYTrJdkXH`2<,>::directionOut at Mono.Linker.Steps.MarkStep.HandleUnresolvedField(FieldReference reference) at Mono.Linker.Steps.MarkStep.MarkInstruction(Instruction instruction) at Mono.Linker.Steps.MarkStep.MarkMethodBody(MethodBody body) at Unity.Linker.Steps.UnityMarkStep.MarkMethodBody(MethodBody body) at Mono.Linker.Steps.MarkStep.ProcessMethod(MethodDefinition method) at Unity.Linker.Steps.UnityMarkStep.ProcessMethod(MethodDefinition method) at Mono.Linker.Steps.MarkStep.ProcessQueue() --- End of inner exception stack trace --- at Mono.Linker.Steps.MarkStep.ProcessQueue() at Mono.Linker.Steps.MarkStep.ProcessPrimaryQueue() at Mono.Linker.Steps.MarkStep.Process() at Unity.Linker.Steps.UnityMarkStep.Process(LinkContext context) at Mono.Linker.Pipeline.ProcessStep(LinkContext context, IStep step) at Unity.Linker.UnityPipeline.ProcessStep(LinkContext context, IStep step) at Mono.Linker.Pipeline.Process(LinkContext context) at Unity.Linker.UnityDriver.Run() at Unity.Linker.UnityDriver.RunDriverWithoutErrorHandling() at Unity.Linker.UnityDriver.RunDriver() stderr: UnityEngine.Debug:LogError(Object) UnityEditorInternal.Runner:RunProgram(Program, String, String, String, CompilerOutputParserBase) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:126) UnityEditorInternal.Runner:RunManagedProgram(String, String, String, CompilerOutputParserBase, Action`1) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:71) UnityEditorInternal.AssemblyStripper:RunAssemblyLinker(IEnumerable`1, String&, String&, String, String) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:222) UnityEditorInternal.AssemblyStripper:StripAssembliesTo(String[], String[], String, String, String&, String&, String, IIl2CppPlatformProvider, IEnumerable`1, BuildTargetGroup, ManagedStrippingLevel, Boolean, String) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:158) UnityEditorInternal.AssemblyStripper:RunAssemblyStripper(IEnumerable, String, String[], String[], String, IIl2CppPlatformProvider, RuntimeClassRegistry, ManagedStrippingLevel) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:358) UnityEditorInternal.AssemblyStripper:StripAssemblies(String, IIl2CppPlatformProvider, RuntimeClassRegistry, ManagedStrippingLevel) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:246) UnityEditorInternal.IL2CPPBuilder:Run() (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:326) UnityEditorInternal.IL2CPPUtils:RunIl2Cpp(String, String, IIl2CppPlatformProvider, Action`1, RuntimeClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:63) UnityEngine.GUIUtility:processEvent(Int32, IntPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179) 2: Exception: ...\2019.2.12f1\Editor\Data\il2cpp\build/UnityLinker.exe did not run properly! UnityEditorInternal.Runner.RunProgram (UnityEditor.Utils.Program p, System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:128) UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action`1[T] setupStartInfo) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:71) UnityEditorInternal.AssemblyStripper.RunAssemblyLinker (System.Collections.Generic.IEnumerable`1[T] args, System.String& out, System.String& err, System.String linkerPath, System.String workingDirectory) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:222) UnityEditorInternal.AssemblyStripper.StripAssembliesTo (System.String[] assemblies, System.String[] searchDirs, System.String outputFolder, System.String workingDirectory, System.String& output, System.String& error, System.String linkerPath, UnityEditorInternal.IIl2CppPlatformProvider platformProvider, System.Collections.Generic.IEnumerable`1[T] additionalBlacklist, UnityEditor.BuildTargetGroup buildTargetGroup, UnityEditor.ManagedStrippingLevel managedStrippingLevel, System.Boolean stripEngineCode, System.String editorToLinkerDataPath) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:158) UnityEditorInternal.AssemblyStripper.RunAssemblyStripper (System.Collections.IEnumerable assemblies, System.String managedAssemblyFolderPath, System.String[] assembliesToStrip, System.String[] searchDirs, System.String monoLinkerPath, UnityEditorInternal.IIl2CppPlatformProvider platformProvider, UnityEditor.RuntimeClassRegistry rcr, UnityEditor.ManagedStrippingLevel managedStrippingLevel) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:358) UnityEditorInternal.AssemblyStripper.StripAssemblies (System.String managedAssemblyFolderPath, UnityEditorInternal.IIl2CppPlatformProvider platformProvider, UnityEditor.RuntimeClassRegistry rcr, UnityEditor.ManagedStrippingLevel managedStrippingLevel) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:246) UnityEditorInternal.IL2CPPBuilder.Run () (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:326) UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String tempFolder, System.String stagingAreaData, UnityEditorInternal.IIl2CppPlatformProvider platformProvider, System.Action`1[T] modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:63) UnityEditor.Android.PostProcessor.Tasks.RunIl2Cpp.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <13e769c2760a442eaf6dff80696716f1>:0) UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <13e769c2760a442eaf6dff80696716f1>:0) UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (UnityEditor.BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <13e769c2760a442eaf6dff80696716f1>:0) UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <13e769c2760a442eaf6dff80696716f1>:0) UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:281) UnityEngine.GUIUtility:processEvent(Int32, IntPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179) I think the main part of the error is: Fatal error in Unity CIL Linker Mono.Linker.MarkException: Error processing method: 'System.Void _jdH6XFQzs1D68CySVxMYTrJdkXH`2::.ctor()' in assembly: 'TheLib.Sdk.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve System.Collections.Generic.Dictionary`2<,> _jdH6XFQzs1D68CySVxMYTrJdkXH`2<,>::directionOut I am not sure what in the obfuscation process cause it to fail, but if anyone have any experience with obfuscating DLLs in unity, especially with ConfuserEx, maybe you could help. Thanks.

How to keep Oculus IAP working in build when exporting in IL2CPP ?

$
0
0
How to keep Oculus IAP (In-app Purchase) working in build when exporting in IL2CPP ? Oculus IAP is correclty working when exporting in Mono. But when **export** is switched from Mono to **IL2CPP, Unity seems to Strip the Oculus IAP (assembly ?) code.** Then the Oculus IAP is not working anymore in the VR app. Impossible to find any documentation about it. I have created a link.xml and tried to add some Oculus assembly / class (type) but nothing worked. What am i missing ? See below the link.xml file. Thanks in advance for your help !

Why do I get a linking error after updating to Xcode 12 ?

$
0
0
Hello, I have a Unity project that uses a native Swift + ObjC library that I made using Firebase MLKit. When trying to build for iOS, the Unity project always builds with Xcode 11.3.1, but when updating to any Xcode 12.X version, I get the following errors : > ld: warning: Could not find or use> auto-linked library 'swiftCoreMIDI'> ld: warning: Could not find or use> auto-linked library> 'swiftUniformTypeIdentifiers'> Undefined symbols for architecture> armv7: > "__swift_FORCE_LOAD_$_swiftUniformTypeIdentifiers",> referenced from:> __swift_FORCE_LOAD_$_swiftUniformTypeIdentifiers_$_NativeLibrary_iOS> in> NativeLibrary_iOS.a(NativeLibrary.o)> __swift_FORCE_LOAD_$_swiftUniformTypeIdentifiers_$_NativeLibrary_iOS> in NativeLibrary_iOS.a(UIImage.o)> (maybe you meant: __swift_FORCE_LOAD_$_swiftUniformTypeIdentifiers_$_NativeLibrary_iOS)> "__swift_FORCE_LOAD_$_swiftCoreMIDI",> referenced from:> __swift_FORCE_LOAD_$_swiftCoreMIDI_$_NativeLibrary_iOS> in> NativeLibrary_iOS.a(NativeLibrary.o)> __swift_FORCE_LOAD_$_swiftCoreMIDI_$_NativeLibrary_iOS> in NativeLibrary_iOS.a(UIImage.o)> (maybe you meant: __swift_FORCE_LOAD_$_swiftCoreMIDI_$_NativeLibrary_iOS)> ld: symbol(s) not found for> architecture armv7 clang: error:> linker command failed with exit code 1> (use -v to see invocation) I am not using either swiftCoreMIDI nor swiftUniformTypeIdentifiers in my code. For the record, I did recompile my native library with Xcode 12 before importing it again in Unity. **Things I have tried:** - Building a Unity project with a Swift library that doesn’t use Firebase MLKit : works fine - Building an Xcode only project that uses Firebase MLKit : works fine - Building the project with a more recent Unity version : fails - Integrating the Firebase SDK frameworks directly instead of using CocoaPods : fails - Adding an empty Swift file + bridging header to my project : fails - Adding the user defined setting LD_VERIFY_BITCODE = NO in XCode : fails **I’m using:** - Xcode 12.2 - Firebase 6.34 - Swift 5.0 - Unity 2019.3.6f1 Any help would be appreciated, I’ve been stuck on this for a while!

Issue with IL2CPP where Default Constructor is possibly stripped from assembly

$
0
0
Apologies if this is not the right place to ask about this error. I've been at this for 4-5 days. - Specs: **protobuf-net 3.0.73 integrated into a Unity 2019.4.6f1 project that targets .NET Standard 2.0 when building for Xbox console with IL2CPP set to Low Stripping.** Exact log: "MissingMthodException: Default constructor not found for type ProtoBuf.Internal.PrimaryTypeProvider" - The project built in Editor works exactly as intended and that's why I think it's the IL2CPP stripping. Error is reported when attempting to assign a new data field of ProtoTest. Might be important to note that the ProtoTest class is a C# Library DLL coded and programmed outside of the Unity environment, as required per ProtoBuf Custom serialization. (To my knowledge). I then built it and ported it into Unity Plugins folder along with the matching Serializer. ProtoTest saveFile = new ProtoTest(); // This is the call made where the code will fail ----- // Decorated class [ProtoContract()] public class ProtoTest { [ProtoMember(1)] public string testString; [ProtoMember(2)] public int testint; [ProtoMember(3)] public int testBool; [ProtoMember(4)] public int[] testFixedIntArray; [ProtoMember(5)] public List testList = new List(); [ProtoMember(6)] public Dictionary testDictionary = new Dictionary(); // This is the constructor that is being stripped (to my knowledge) public ProtoTest() { } } I suspect that some off the protobuf files are being stripped during the build, I don't have a lot of experience with handling this. However I attempted to omit the protobuf namespace from stripping by writing a Linker referencing the namespaces used to create all the protobuf data I know of. Might be important to note that the ProtoTest class is a C# Library DLL coded and programmed outside of the Unity environment, as required per ProtoBuf Custom serialization. (To my knowledge). Attempt 1 Attempt 2 Attempt 3

C:\Program Files\Unity\Hub\Editor\2022.1.23f1\Editor\Data\il2cpp\build\deploy\UnityLinker.exe

$
0
0
Building Library\Bee\artifacts\Android\ManagedStripped failed with output: C:\Program Files\Unity\Hub\Editor\2022.1.23f1\Editor\Data\il2cpp\build\deploy\UnityLinker.exe --search-directory=C:/Users/Beytu/Desktop/HyperCasual1/Library/Bee/PlayerScriptAssemblies --search-directory=C:/Program Files/Unity/Hub/Editor/2022.1.23f1/Editor/Data/PlaybackEngines/AndroidPlayer/Variations/il2cpp/Managed --search-directory=C:/Users/Beytu/Desktop/HyperCasual1/Library/PackageCache/com.unity.nuget.newtonsoft-json@3.0.2/Runtime/AOT --search-directory=C:/Users/Beytu/Desktop/HyperCasual1/Assets/GoogleMobileAds --search-directory=C:/Users/Beytu/Desktop/HyperCasual1/Library/PackageCache/com.unity.visualscripting@1.7.8/Runtime/VisualScripting.Flow/Dependencies/NCalc --search-directory=C:/Program Files/Unity/Hub/Editor/2022.1.23f1/Editor/Data/MonoBleedingEdge/lib/mono/unityaot-linux --search-directory=C:/Program Files/Unity/Hub/Editor/2022.1.23f1/Editor/Data/MonoBleedingEdge/lib/mono/unityaot-linux/Facades --out=Library/Bee/artifacts/Android/ManagedStripped --include-link-xml=C:/Users/Beytu/Desktop/HyperCasual1/Temp/StagingArea/Data/Managed\MethodsToPreserve.xml --include-link-xml=C:/Users/Beytu/Desktop/HyperCasual1/Temp/StagingArea/Data/Managed\TypesInScenes.xml --include-link-xml=C:/Users/Beytu/Desktop/HyperCasual1/Temp/StagingArea/Data/Managed\SerializedTypes.xml --include-link-xml=C:\Users\Beytu\Desktop\HyperCasual1\Assets\GoogleMobileAds\link.xml --include-link-xml=C:/Program Files/Unity/Hub/Editor/2022.1.23f1/Editor/Data/PlaybackEngines/AndroidPlayer/Tools/AndroidNativeLink.xml --include-directory=C:/Users/Beytu/Desktop/HyperCasual1/Library/Bee/PlayerScriptAssemblies --include-directory=C:/Program Files/Unity/Hub/Editor/2022.1.23f1/Editor/Data/PlaybackEngines/AndroidPlayer/Variations/il2cpp/Managed --include-directory=C:/Users/Beytu/Desktop/HyperCasual1/Library/PackageCache/com.unity.nuget.newtonsoft-json@3.0.2/Runtime/AOT --include-directory=C:/Users/Beytu/Desktop/HyperCasual1/Assets/GoogleMobileAds --include-directory=C:/Users/Beytu/Desktop/HyperCasual1/Library/PackageCache/com.unity.visualscripting@1.7.8/Runtime/VisualScripting.Flow/Dependencies/NCalc --include-directory=C:/Program Files/Unity/Hub/Editor/2022.1.23f1/Editor/Data/MonoBleedingEdge/lib/mono/unityaot-linux --include-directory=C:/Program Files/Unity/Hub/Editor/2022.1.23f1/Editor/Data/MonoBleedingEdge/lib/mono/unityaot-linux/Facades --dotnetprofile=unityaot-linux --dotnetruntime=Il2Cpp --platform=Android --use-editor-options --enable-engine-module-stripping --engine-stripping-flag=EnableUnityConnect --engine-stripping-flag=EnablePerformanceReporting --engine-stripping-flag=EnableAnalytics --engine-modules-asset-file=C:/Program Files/Unity/Hub/Editor/2022.1.23f1/Editor/Data/PlaybackEngines/AndroidPlayer/modules.asset --editor-data-file=C:/Users/Beytu/Desktop/HyperCasual1/Temp/StagingArea/Data/Managed/EditorToUnityLinkerData.json --include-unity-root-assembly=C:/Users/Beytu/Desktop/HyperCasual1/Library/Bee/PlayerScriptAssemblies/Assembly-CSharp.dll --include-unity-root-assembly=C:/Users/Beytu/Desktop/HyperCasual1/Library/Bee/PlayerScriptAssemblies/Unity.TextMeshPro.dll --include-unity-root-assembly=C:/Users/Beytu/Desktop/HyperCasual1/Library/Bee/PlayerScriptAssemblies/UnityEngine.UI.dll --print-command-line Fatal error in Unity CIL Linker Mono.Linker.LinkerFatalErrorException: ILLink: error IL1005: GoogleMobileAds.Api.MobileAds.GetClientFactory(): Error processing method 'GoogleMobileAds.Api.MobileAds.GetClientFactory()' in assembly 'GoogleMobileAds.dll' ---> System.InvalidOperationException: No action for the assembly GoogleMobileAds.Unity, Version=7.3.0.0, Culture=neutral, PublicKeyToken=null defined at Mono.Linker.AnnotationStore.GetAction(AssemblyDefinition assembly) at Mono.Linker.Steps.MarkStep.MarkCustomAttributes(ICustomAttributeProvider provider, DependencyInfo& reason, IMemberDefinition sourceLocationMember) at Mono.Linker.Steps.MarkStep.MarkType(TypeReference reference, DependencyInfo reason, IMemberDefinition sourceLocationMember) at Mono.Linker.Steps.MarkStep.MarkTypeVisibleToReflection(TypeReference reference, DependencyInfo reason, IMemberDefinition sourceLocationMember) at Mono.Linker.Dataflow.ReflectionMethodBodyScanner.<>c__DisplayClass20_4.b__7() at Mono.Linker.Dataflow.ReflectionMethodBodyScanner.HandleCall(MethodBody callingMethodBody, MethodReference calledMethod, Instruction operation, ValueNodeList methodParams, ValueNode& methodReturnValue) at Mono.Linker.Dataflow.MethodBodyScanner.HandleCall(MethodBody callingMethodBody, Instruction operation, Stack`1 currentStack) at Mono.Linker.Dataflow.MethodBodyScanner.Scan(MethodBody methodBody) at Mono.Linker.Dataflow.ReflectionMethodBodyScanner.ScanAndProcessReturnValue(MethodBody methodBody) at Unity.Linker.Steps.UnityMarkStep.MarkReflectionLikeDependencies(MethodBody body, Boolean requiresReflectionMethodBodyScanner) at Mono.Linker.Steps.MarkStep.MarkMethodBody(MethodBody body) at Unity.Linker.Steps.UnityMarkStep.MarkMethodBody(MethodBody body) at Mono.Linker.Steps.MarkStep.ProcessMethod(MethodDefinition method, DependencyInfo& reason) at Unity.Linker.Steps.UnityMarkStep.ProcessMethod(MethodDefinition method, DependencyInfo& reason) at Mono.Linker.Steps.MarkStep.ProcessQueue() --- End of inner exception stack trace --- at Mono.Linker.Steps.MarkStep.ProcessQueue() at Mono.Linker.Steps.MarkStep.ProcessPrimaryQueue() at Mono.Linker.Steps.MarkStep.Process() at Mono.Linker.Steps.MarkStep.Process(LinkContext context) at Unity.Linker.Steps.UnityMarkStep.Process(LinkContext context) at Unity.Linker.UnityPipeline.ProcessStep(LinkContext context, IStep step) at Mono.Linker.Pipeline.Process(LinkContext context) at Unity.Linker.UnityDriver.UnityRun(Boolean noProfilerAllowed, ILogger customLogger) at Unity.Linker.UnityDriver.RunDriverWithoutErrorHandling(ILogger customLogger, Boolean noProfilerAllowed) at Unity.Linker.UnityDriver.RunDriver() UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) **NEDEN BU HATAYI ALIYORUM LÜTFEN YARDIM EDİN?? WHY AM I GETTING THIS ERROR PLEASE HELP??** ,Building Library\Bee\artifacts\Android\ManagedStripped failed with output: C:\Program Files\Unity\Hub\Editor\2022.1.23f1\Editor\Data\il2cpp\build\deploy\UnityLinker.exe --search-directory=C:/Users/Beytu/Desktop/HyperCasual1/Library/Bee/PlayerScriptAssemblies --search-directory=C:/Program Files/Unity/Hub/Editor/2022.1.23f1/Editor/Data/PlaybackEngines/AndroidPlayer/Variations/il2cpp/Managed --search-directory=C:/Users/Beytu/Desktop/HyperCasual1/Library/PackageCache/com.unity.nuget.newtonsoft-json@3.0.2/Runtime/AOT --search-directory=C:/Users/Beytu/Desktop/HyperCasual1/Assets/GoogleMobileAds --search-directory=C:/Users/Beytu/Desktop/HyperCasual1/Library/PackageCache/com.unity.visualscripting@1.7.8/Runtime/VisualScripting.Flow/Dependencies/NCalc --search-directory=C:/Program Files/Unity/Hub/Editor/2022.1.23f1/Editor/Data/MonoBleedingEdge/lib/mono/unityaot-linux --search-directory=C:/Program Files/Unity/Hub/Editor/2022.1.23f1/Editor/Data/MonoBleedingEdge/lib/mono/unityaot-linux/Facades --out=Library/Bee/artifacts/Android/ManagedStripped --include-link-xml=C:/Users/Beytu/Desktop/HyperCasual1/Temp/StagingArea/Data/Managed\MethodsToPreserve.xml --include-link-xml=C:/Users/Beytu/Desktop/HyperCasual1/Temp/StagingArea/Data/Managed\TypesInScenes.xml --include-link-xml=C:/Users/Beytu/Desktop/HyperCasual1/Temp/StagingArea/Data/Managed\SerializedTypes.xml --include-link-xml=C:\Users\Beytu\Desktop\HyperCasual1\Assets\GoogleMobileAds\link.xml --include-link-xml=C:/Program Files/Unity/Hub/Editor/2022.1.23f1/Editor/Data/PlaybackEngines/AndroidPlayer/Tools/AndroidNativeLink.xml --include-directory=C:/Users/Beytu/Desktop/HyperCasual1/Library/Bee/PlayerScriptAssemblies --include-directory=C:/Program Files/Unity/Hub/Editor/2022.1.23f1/Editor/Data/PlaybackEngines/AndroidPlayer/Variations/il2cpp/Managed --include-directory=C:/Users/Beytu/Desktop/HyperCasual1/Library/PackageCache/com.unity.nuget.newtonsoft-json@3.0.2/Runtime/AOT --include-directory=C:/Users/Beytu/Desktop/HyperCasual1/Assets/GoogleMobileAds --include-directory=C:/Users/Beytu/Desktop/HyperCasual1/Library/PackageCache/com.unity.visualscripting@1.7.8/Runtime/VisualScripting.Flow/Dependencies/NCalc --include-directory=C:/Program Files/Unity/Hub/Editor/2022.1.23f1/Editor/Data/MonoBleedingEdge/lib/mono/unityaot-linux --include-directory=C:/Program Files/Unity/Hub/Editor/2022.1.23f1/Editor/Data/MonoBleedingEdge/lib/mono/unityaot-linux/Facades --dotnetprofile=unityaot-linux --dotnetruntime=Il2Cpp --platform=Android --use-editor-options --enable-engine-module-stripping --engine-stripping-flag=EnableUnityConnect --engine-stripping-flag=EnablePerformanceReporting --engine-stripping-flag=EnableAnalytics --engine-modules-asset-file=C:/Program Files/Unity/Hub/Editor/2022.1.23f1/Editor/Data/PlaybackEngines/AndroidPlayer/modules.asset --editor-data-file=C:/Users/Beytu/Desktop/HyperCasual1/Temp/StagingArea/Data/Managed/EditorToUnityLinkerData.json --include-unity-root-assembly=C:/Users/Beytu/Desktop/HyperCasual1/Library/Bee/PlayerScriptAssemblies/Assembly-CSharp.dll --include-unity-root-assembly=C:/Users/Beytu/Desktop/HyperCasual1/Library/Bee/PlayerScriptAssemblies/Unity.TextMeshPro.dll --include-unity-root-assembly=C:/Users/Beytu/Desktop/HyperCasual1/Library/Bee/PlayerScriptAssemblies/UnityEngine.UI.dll --print-command-line Fatal error in Unity CIL Linker Mono.Linker.LinkerFatalErrorException: ILLink: error IL1005: GoogleMobileAds.Api.MobileAds.GetClientFactory(): Error processing method 'GoogleMobileAds.Api.MobileAds.GetClientFactory()' in assembly 'GoogleMobileAds.dll' ---> System.InvalidOperationException: No action for the assembly GoogleMobileAds.Unity, Version=7.3.0.0, Culture=neutral, PublicKeyToken=null defined at Mono.Linker.AnnotationStore.GetAction(AssemblyDefinition assembly) at Mono.Linker.Steps.MarkStep.MarkCustomAttributes(ICustomAttributeProvider provider, DependencyInfo& reason, IMemberDefinition sourceLocationMember) at Mono.Linker.Steps.MarkStep.MarkType(TypeReference reference, DependencyInfo reason, IMemberDefinition sourceLocationMember) at Mono.Linker.Steps.MarkStep.MarkTypeVisibleToReflection(TypeReference reference, DependencyInfo reason, IMemberDefinition sourceLocationMember) at Mono.Linker.Dataflow.ReflectionMethodBodyScanner.<>c__DisplayClass20_4.b__7() at Mono.Linker.Dataflow.ReflectionMethodBodyScanner.HandleCall(MethodBody callingMethodBody, MethodReference calledMethod, Instruction operation, ValueNodeList methodParams, ValueNode& methodReturnValue) at Mono.Linker.Dataflow.MethodBodyScanner.HandleCall(MethodBody callingMethodBody, Instruction operation, Stack`1 currentStack) at Mono.Linker.Dataflow.MethodBodyScanner.Scan(MethodBody methodBody) at Mono.Linker.Dataflow.ReflectionMethodBodyScanner.ScanAndProcessReturnValue(MethodBody methodBody) at Unity.Linker.Steps.UnityMarkStep.MarkReflectionLikeDependencies(MethodBody body, Boolean requiresReflectionMethodBodyScanner) at Mono.Linker.Steps.MarkStep.MarkMethodBody(MethodBody body) at Unity.Linker.Steps.UnityMarkStep.MarkMethodBody(MethodBody body) at Mono.Linker.Steps.MarkStep.ProcessMethod(MethodDefinition method, DependencyInfo& reason) at Unity.Linker.Steps.UnityMarkStep.ProcessMethod(MethodDefinition method, DependencyInfo& reason) at Mono.Linker.Steps.MarkStep.ProcessQueue() --- End of inner exception stack trace --- at Mono.Linker.Steps.MarkStep.ProcessQueue() at Mono.Linker.Steps.MarkStep.ProcessPrimaryQueue() at Mono.Linker.Steps.MarkStep.Process() at Mono.Linker.Steps.MarkStep.Process(LinkContext context) at Unity.Linker.Steps.UnityMarkStep.Process(LinkContext context) at Unity.Linker.UnityPipeline.ProcessStep(LinkContext context, IStep step) at Mono.Linker.Pipeline.Process(LinkContext context) at Unity.Linker.UnityDriver.UnityRun(Boolean noProfilerAllowed, ILogger customLogger) at Unity.Linker.UnityDriver.RunDriverWithoutErrorHandling(ILogger customLogger, Boolean noProfilerAllowed) at Unity.Linker.UnityDriver.RunDriver() UnityEngine.GUIUtility:processEvent (int,intptr,bool&) NEDEN BU HATAYI ALIYORUM LÜTFEN YARDIM EDİN?? WHY AM I GETTING THIS ERROR PLEASE HELP??

System.Net.Configuration.NetSectionGroup Was Not Found

$
0
0
A requirement for my project is building with Managed Stripping on High. My builds are unable to initiate Microsoft.Identity authentication, I'm getting the following error in the XCode project. authTask.IdToken ExceptionSystem.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. ---> System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception. ---> System.TypeInitializationException: The type initializer for 'System.Net.ServicePointManager' threw an exception. ---> System.Configuration.ConfigurationErrorsException: Type 'System.Net.Configuration.NetSectionGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' not found. I've tried preserving that type in the link.xml (see the following). I'm using the Mono scripting backend to build for MacOS in 2021.3.13f1. Is there something I'm overlooking here? I could also share a list of the assemblies in my build vs the editor, if that helps.
Viewing all 122 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>