Quantcast
Channel: Questions in topic: "xcode"
Viewing all 1047 articles
Browse latest View live

Accessing the volume buttons on iPhone for some functionality through Unity

$
0
0
I have created one Unity basic game and take a build for Android and its working well but once I was trying to take build for Xcode then some issues are coming. basically I was trying to take some task from Volume up and Volume down key in an iOS. I will show Android Code for Unity, help me with iOS code. ____________________________________________________________________ public int GetVolume() { if (Application.platform == RuntimePlatform.Android) { AndroidJavaClass up = new AndroidJavaClass("com.unity3d.player.UnityPlayer"); AndroidJavaObject context = up.GetStatic("currentActivity"); AndroidJavaClass audioManagerClass = new AndroidJavaClass("android.media.AudioManager"); AndroidJavaClass contextClass = new AndroidJavaClass("android.content.Context"); int AudioManager_STREAM_MUSIC = audioManagerClass.GetStatic("STREAM_MUSIC"); string Context_AUDIO_SERVICE = contextClass.GetStatic("AUDIO_SERVICE"); AndroidJavaObject audioService = context.Call("getSystemService", Context_AUDIO_SERVICE); return audioService.Call("getStreamVolume", AudioManager_STREAM_MUSIC); } return 0; }

Getting an “Undefined symbols for architecture arm64” error while building a Unity project in Xcode 11.3

$
0
0
I have been trying to build my AR (Vuforia 9.2.8) Unity Project (2019.4.2f1) for iOS. But when I build the project in Xcode (11.3), I always get following error: Undefined symbols for architecture arm64: "_sampleMethod", referenced from: _PhotoCapture_sampleMethod_m69D10A1489308720B3C58E2357E18B623B0CFB23 in Assembly-CSharp.o (maybe you meant: _PhotoCapture_sampleMethod_m69D10A1489308720B3C58E2357E18B623B0CFB23) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) The error appears while building the "UnityFramework". I tried to change the build settings in Xcode and Unity but couldn't solve it. What is PhotoCapture and how do I fix this error?

Incorrect CODE_SIGN_ENTITLEMENTS when using ProjectCapabilityManager in Unity to add entitlements to Xcode output

$
0
0
I'm using ProjectCapabilityManager OnPostprocessBuildIOS to automate the process of enabling capabilities, "Associated Domains" specifically, and adding applinks:mydomain.xxx as an associated domain for my iOS game in Unity3d. This is the code (with little modification to string values) that I'm using: string pbxPath = PBXProject.GetPBXProjectPath(pathToBuiltProject); string entitlementsFileName = "myproject.entitlements"; var entitlements = new ProjectCapabilityManager(pbxPath, entitlementsFileName, PBXProject.GetUnityTargetName()); entitlements.AddAssociatedDomains(new string[] { "applinks:mydomain.xxx" }); entitlements.WriteToFile(); The problem is the project in Xcode will end up having two entitlement file addresses separated by an space as the value for CODE_SIGN_ENTITLEMENTS, something like: myproject.entitlements Unity-iPhone/Unity-iPhone.entitlements and Xcode says Verify the value of the CODE_SIGN_ENTITLEMENTS build setting for target "Unity-iPhone" is correct and that the file exists on disk. If I remove any of the two files from CODE_SIGN_ENTITLEMENTS there is not an error anymore. How should I solve this?

How do you get rid of a window with no x?,How do you get rid of the Color wheel window?

$
0
0
There is a color wheel window in the top left corner and I can’t save my game! Please help me.,There is a window on my laptop that’s covering the top left corner and I can’t save my game! Please help.

How to build IOS library using NativeRenderingPlugin

$
0
0
Hi, I am new to Unity. Could anyone let us know or provide a reference, how to generate the IOS library using NativeRenderingPlugin. Where we can use the same IOS library in any of unity projects. Thanks for your help.

Can I trigger automatic flashlight events in my mobile AR experience? (Unity + Vuforia, iOS build)

$
0
0
**Hi Unity! This is an INTERESTING AR CHALLENGE! Check out my video on it:** https://youtu.be/5Ag-wGgr8I0 Any tips are very much appreciated! Mentioned research links in my video: https://youtu.be/FQRVjVlGhl8 https://developer.vuforia.com/forum/unity-extension-technical-discussion/turn-flash-light https://forum.unity.com/threads/phone-flashlight-not-working-with-vuforia.530533/ https://library.vuforia.com/articles/Solution/Optimizing-Target-Detection-and-Tracking-Stability.html

Unity Xcode build error

$
0
0
1. I have a third-party library in my Unity project. 2. I build an xcode project 3. I build an xcode archive 4. An error occured: **error: cannot open file "xcode-build/Libraries/path/to/file"** But if I copy/paste this library file manually into that folder, achive building ends with success. Is there any way to force Unity copy/paste plugins into Xcode project **Libraries** folder? Or how should it work?

Unity not building facebook libraries to XCode?

$
0
0
Hello, I'm having trouble with building a unity project into app with xcode. I'm running into 25 errors in xcode when trying to build the app. ![List of xcode errors][1] I believe that most of these are ios facebook libraries or are key words from those libraries. I'm not sure how to fix these errors. Any help would be much appreciated. [1]: /storage/temp/165818-screen-shot-2020-08-19-at-32851-pm.png

undefined symbol error related to WebRTC while building in Xcode

$
0
0
Showing Recent Messages Ld /Users/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/Build/Products/ReleaseForRunning-iphoneos/UnityFramework.framework/UnityFramework normal arm64 (in target 'UnityFramework' from project 'Unity-iPhone') cd /Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11 /Applications/Xcode11.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target arm64-apple-ios10.0 -dynamiclib -isysroot /Applications/Xcode11.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk -L/Users/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/Build/Products/ReleaseForRunning-iphoneos -L/Users/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/Build/Products/ReleaseForRunning-iphoneos/GoogleUtilities -L/Users/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/Build/Products/ReleaseForRunning-iphoneos/PromisesObjC -L/Users/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/Build/Products/ReleaseForRunning-iphoneos/nanopb -L/Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11/Libraries -L/Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11/Libraries/Photon/PhotonVoice/PhotonVoiceLibs/iOS -F/Users/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/Build/Products/ReleaseForRunning-iphoneos -F/Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current -F/Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11/Pods/GoogleAppMeasurement/Frameworks -F/Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11/Pods/GoogleUserMessagingPlatform/Frameworks/Release -F/Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11/Pods/GoogleWebRTC/Frameworks/frameworks -F/Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11/Frameworks/com.unity.ads/Plugins/iOS -F/Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11/Frameworks/Photon/PhotonVoice/PhotonVoiceLibs/iOS -filelist /Users/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/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/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/UnityFramework.build/UnityFramework-LinkMap-normal-arm64.txt -dead_strip -Xlinker -object_path_lto -Xlinker /Users/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/UnityFramework.build/Objects-normal/arm64/UnityFramework_lto.o -stdlib=libc++ -fobjc-arc -fobjc-link-runtime -ObjC -lGoogleUtilities -lPromisesObjC -lc++ -lnanopb -lsqlite3 -lz -framework AVFoundation -framework AudioToolbox -framework CFNetwork -framework CoreGraphics -framework CoreMedia -framework CoreTelephony -framework CoreVideo -framework GoogleAppMeasurement -framework GoogleMobileAds -framework MediaPlayer -framework MessageUI -framework MobileCoreServices -framework QuartzCore -framework Security -framework StoreKit -framework SystemConfiguration -framework UserMessagingPlatform -framework WebKit -framework WebRTC -weak_framework AdSupport -weak_framework JavaScriptCore -weak_framework SafariServices -weak_framework WebKit -weak_framework CoreMotion -weak-lSystem -framework AudioToolbox -framework GLKit -liPhone-lib -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 OpenGLES -framework QuartzCore -framework SystemConfiguration -framework UIKit -liconv.2 -lil2cpp -framework UnityAds -lopus_egpv -framework VPX -framework StoreKit -framework AdSupport -framework CoreTelephony -weak_framework Metal -weak_framework GameController -lPods-UnityFramework -Xlinker -dependency_info -Xlinker /Users/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/UnityFramework.build/Objects-normal/arm64/UnityFramework_dependency_info.dat -o /Users/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/Build/Products/ReleaseForRunning-iphoneos/UnityFramework.framework/UnityFramework ld: warning: arm64 function not 4-byte aligned: _unwind_tester from /Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11/Libraries/libiPhone-lib.a(unwind_test_arm64.o) Undefined symbols for architecture arm64: "_webrtc_audio_processor_destroy", referenced from: _WebRTCAudioLib_webrtc_audio_processor_destroy_mCD923B607BAE73AF0F15ABEC0A399462B39842FE in PhotonVoice.API.o _WebRTCAudioProcessor_Dispose_m3B8D961BEF947170DC57A638625D126E98B56498 in PhotonVoice.API.o (maybe you meant: _WebRTCAudioLib_webrtc_audio_processor_destroy_mCD923B607BAE73AF0F15ABEC0A399462B39842FE) "_webrtc_audio_processor_process_reverse", referenced from: _WebRTCAudioLib_webrtc_audio_processor_process_reverse_mC952C2BF4827CDEB5A75DDBD950567186E2CC92C in PhotonVoice.API.o _WebRTCAudioProcessor_OnAudioOutFrameFloat_mB7D11EB496DA64DF40961F28619915DF77813791 in PhotonVoice.API.o (maybe you meant: _WebRTCAudioLib_webrtc_audio_processor_process_reverse_mC952C2BF4827CDEB5A75DDBD950567186E2CC92C) "_webrtc_audio_processor_set_param", referenced from: _WebRTCAudioLib_webrtc_audio_processor_set_param_mBD6F21E0AE3594C27771016FC7BD005BFFBC8C5A in PhotonVoice.API.o _WebRTCAudioProcessor_set_AECStreamDelayMs_m1173AA085D602F43FCB59CC50B5C9A0A38A2D08B in PhotonVoice.API.o _WebRTCAudioProcessor_setParam_mC526B585BA93A7FF1C2A2306A9A83812C4058E35 in PhotonVoice.API.o _WebRTCAudioProcessor_set_AEC_m35C47DACDCF0DD9A947BAC2A73CA16ECCF52C760 in PhotonVoice.API.o _WebRTCAudioProcessor_set_AECMobile_mD435884DB22DEF82A9FC14A6B8220D9D068DDC63 in PhotonVoice.API.o _WebRTCAudioProcessor_set_AECMRoutingMode_m07E9BEE43EE269E72863060927E790EB1688420E in PhotonVoice.API.o _WebRTCAudioProcessor_set_AECMComfortNoise_mD37D3677BFC48C6A6B78DA38325CC1694D2CD7AB in PhotonVoice.API.o ... (maybe you meant: _WebRTCAudioLib_webrtc_audio_processor_set_param_mBD6F21E0AE3594C27771016FC7BD005BFFBC8C5A) "_webrtc_audio_processor_process", referenced from: _WebRTCAudioLib_webrtc_audio_processor_process_m19013DA8B85F1DC03737F7189E3A27481401396A in PhotonVoice.API.o _WebRTCAudioProcessor_Process_m8EBB66BD82EEFB6FFADFBF1C4A829517EA61FDB1 in PhotonVoice.API.o (maybe you meant: _WebRTCAudioLib_webrtc_audio_processor_process_reverse_mC952C2BF4827CDEB5A75DDBD950567186E2CC92C, _WebRTCAudioLib_webrtc_audio_processor_process_m19013DA8B85F1DC03737F7189E3A27481401396A ) "_webrtc_audio_processor_set_config_param", referenced from: _WebRTCAudioLib_webrtc_audio_processor_set_config_param_mD54928452B2E5DFEC87DE0AE11F7C735BEAD2043 in PhotonVoice.API.o _WebRTCAudioProcessor__ctor_mC17068F250D63B0ECB1F8E448CE86A9D76D72CAD in PhotonVoice.API.o _WebRTCAudioProcessor_setConfigParam_m9CD0968ECD0561A50EDBF6CEAE6262DFEC629DC9 in PhotonVoice.API.o (maybe you meant: _WebRTCAudioLib_webrtc_audio_processor_set_config_param_mD54928452B2E5DFEC87DE0AE11F7C735BEAD2043) "_webrtc_audio_processor_init", referenced from: _WebRTCAudioLib_webrtc_audio_processor_init_m32E7B1E09E2C173FF96D2D865F8D2A043AB00977 in PhotonVoice.API.o _WebRTCAudioProcessor__ctor_mC17068F250D63B0ECB1F8E448CE86A9D76D72CAD in PhotonVoice.API.o (maybe you meant: _WebRTCAudioLib_webrtc_audio_processor_init_m32E7B1E09E2C173FF96D2D865F8D2A043AB00977) "_webrtc_audio_processor_create", referenced from: _WebRTCAudioLib_webrtc_audio_processor_create_m789BDD21F355798957D379A83DF8006278A2EFFC in PhotonVoice.API.o _WebRTCAudioProcessor__ctor_mC17068F250D63B0ECB1F8E448CE86A9D76D72CAD in PhotonVoice.API.o (maybe you meant: _WebRTCAudioLib_webrtc_audio_processor_create_m789BDD21F355798957D379A83DF8006278A2EFFC) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) Ld /Users/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/Build/Products/ReleaseForRunning-iphoneos/UnityFramework.framework/UnityFramework normal arm64 (in target 'UnityFramework' from project 'Unity-iPhone') cd /Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11 /Applications/Xcode11.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target arm64-apple-ios10.0 -dynamiclib -isysroot /Applications/Xcode11.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk -L/Users/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/Build/Products/ReleaseForRunning-iphoneos -L/Users/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/Build/Products/ReleaseForRunning-iphoneos/GoogleUtilities -L/Users/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/Build/Products/ReleaseForRunning-iphoneos/PromisesObjC -L/Users/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/Build/Products/ReleaseForRunning-iphoneos/nanopb -L/Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11/Libraries -L/Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11/Libraries/Photon/PhotonVoice/PhotonVoiceLibs/iOS -F/Users/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/Build/Products/ReleaseForRunning-iphoneos -F/Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current -F/Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11/Pods/GoogleAppMeasurement/Frameworks -F/Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11/Pods/GoogleUserMessagingPlatform/Frameworks/Release -F/Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11/Pods/GoogleWebRTC/Frameworks/frameworks -F/Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11/Frameworks/com.unity.ads/Plugins/iOS -F/Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11/Frameworks/Photon/PhotonVoice/PhotonVoiceLibs/iOS -filelist /Users/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/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/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/, Showing Recent Messages Ld /Users/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/Build/Products/ReleaseForRunning-iphoneos/UnityFramework.framework/UnityFramework normal arm64 (in target 'UnityFramework' from project 'Unity-iPhone') cd /Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11 /Applications/Xcode11.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target arm64-apple-ios10.0 -dynamiclib -isysroot /Applications/Xcode11.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk -L/Users/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/Build/Products/ReleaseForRunning-iphoneos -L/Users/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/Build/Products/ReleaseForRunning-iphoneos/GoogleUtilities -L/Users/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/Build/Products/ReleaseForRunning-iphoneos/PromisesObjC -L/Users/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/Build/Products/ReleaseForRunning-iphoneos/nanopb -L/Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11/Libraries -L/Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11/Libraries/Photon/PhotonVoice/PhotonVoiceLibs/iOS -F/Users/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/Build/Products/ReleaseForRunning-iphoneos -F/Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current -F/Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11/Pods/GoogleAppMeasurement/Frameworks -F/Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11/Pods/GoogleUserMessagingPlatform/Frameworks/Release -F/Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11/Pods/GoogleWebRTC/Frameworks/frameworks -F/Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11/Frameworks/com.unity.ads/Plugins/iOS -F/Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11/Frameworks/Photon/PhotonVoice/PhotonVoiceLibs/iOS -filelist /Users/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/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/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/UnityFramework.build/UnityFramework-LinkMap-normal-arm64.txt -dead_strip -Xlinker -object_path_lto -Xlinker /Users/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/UnityFramework.build/Objects-normal/arm64/UnityFramework_lto.o -stdlib=libc++ -fobjc-arc -fobjc-link-runtime -ObjC -lGoogleUtilities -lPromisesObjC -lc++ -lnanopb -lsqlite3 -lz -framework AVFoundation -framework AudioToolbox -framework CFNetwork -framework CoreGraphics -framework CoreMedia -framework CoreTelephony -framework CoreVideo -framework GoogleAppMeasurement -framework GoogleMobileAds -framework MediaPlayer -framework MessageUI -framework MobileCoreServices -framework QuartzCore -framework Security -framework StoreKit -framework SystemConfiguration -framework UserMessagingPlatform -framework WebKit -framework WebRTC -weak_framework AdSupport -weak_framework JavaScriptCore -weak_framework SafariServices -weak_framework WebKit -weak_framework CoreMotion -weak-lSystem -framework AudioToolbox -framework GLKit -liPhone-lib -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 OpenGLES -framework QuartzCore -framework SystemConfiguration -framework UIKit -liconv.2 -lil2cpp -framework UnityAds -lopus_egpv -framework VPX -framework StoreKit -framework AdSupport -framework CoreTelephony -weak_framework Metal -weak_framework GameController -lPods-UnityFramework -Xlinker -dependency_info -Xlinker /Users/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/UnityFramework.build/Objects-normal/arm64/UnityFramework_dependency_info.dat -o /Users/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/Build/Products/ReleaseForRunning-iphoneos/UnityFramework.framework/UnityFramework ld: warning: arm64 function not 4-byte aligned: _unwind_tester from /Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11/Libraries/libiPhone-lib.a(unwind_test_arm64.o) Undefined symbols for architecture arm64: "_webrtc_audio_processor_destroy", referenced from: _WebRTCAudioLib_webrtc_audio_processor_destroy_mCD923B607BAE73AF0F15ABEC0A399462B39842FE in PhotonVoice.API.o _WebRTCAudioProcessor_Dispose_m3B8D961BEF947170DC57A638625D126E98B56498 in PhotonVoice.API.o (maybe you meant: _WebRTCAudioLib_webrtc_audio_processor_destroy_mCD923B607BAE73AF0F15ABEC0A399462B39842FE) "_webrtc_audio_processor_process_reverse", referenced from: _WebRTCAudioLib_webrtc_audio_processor_process_reverse_mC952C2BF4827CDEB5A75DDBD950567186E2CC92C in PhotonVoice.API.o _WebRTCAudioProcessor_OnAudioOutFrameFloat_mB7D11EB496DA64DF40961F28619915DF77813791 in PhotonVoice.API.o (maybe you meant: _WebRTCAudioLib_webrtc_audio_processor_process_reverse_mC952C2BF4827CDEB5A75DDBD950567186E2CC92C) "_webrtc_audio_processor_set_param", referenced from: _WebRTCAudioLib_webrtc_audio_processor_set_param_mBD6F21E0AE3594C27771016FC7BD005BFFBC8C5A in PhotonVoice.API.o _WebRTCAudioProcessor_set_AECStreamDelayMs_m1173AA085D602F43FCB59CC50B5C9A0A38A2D08B in PhotonVoice.API.o _WebRTCAudioProcessor_setParam_mC526B585BA93A7FF1C2A2306A9A83812C4058E35 in PhotonVoice.API.o _WebRTCAudioProcessor_set_AEC_m35C47DACDCF0DD9A947BAC2A73CA16ECCF52C760 in PhotonVoice.API.o _WebRTCAudioProcessor_set_AECMobile_mD435884DB22DEF82A9FC14A6B8220D9D068DDC63 in PhotonVoice.API.o _WebRTCAudioProcessor_set_AECMRoutingMode_m07E9BEE43EE269E72863060927E790EB1688420E in PhotonVoice.API.o _WebRTCAudioProcessor_set_AECMComfortNoise_mD37D3677BFC48C6A6B78DA38325CC1694D2CD7AB in PhotonVoice.API.o ... (maybe you meant: _WebRTCAudioLib_webrtc_audio_processor_set_param_mBD6F21E0AE3594C27771016FC7BD005BFFBC8C5A) "_webrtc_audio_processor_process", referenced from: _WebRTCAudioLib_webrtc_audio_processor_process_m19013DA8B85F1DC03737F7189E3A27481401396A in PhotonVoice.API.o _WebRTCAudioProcessor_Process_m8EBB66BD82EEFB6FFADFBF1C4A829517EA61FDB1 in PhotonVoice.API.o (maybe you meant: _WebRTCAudioLib_webrtc_audio_processor_process_reverse_mC952C2BF4827CDEB5A75DDBD950567186E2CC92C, _WebRTCAudioLib_webrtc_audio_processor_process_m19013DA8B85F1DC03737F7189E3A27481401396A ) "_webrtc_audio_processor_set_config_param", referenced from: _WebRTCAudioLib_webrtc_audio_processor_set_config_param_mD54928452B2E5DFEC87DE0AE11F7C735BEAD2043 in PhotonVoice.API.o _WebRTCAudioProcessor__ctor_mC17068F250D63B0ECB1F8E448CE86A9D76D72CAD in PhotonVoice.API.o _WebRTCAudioProcessor_setConfigParam_m9CD0968ECD0561A50EDBF6CEAE6262DFEC629DC9 in PhotonVoice.API.o (maybe you meant: _WebRTCAudioLib_webrtc_audio_processor_set_config_param_mD54928452B2E5DFEC87DE0AE11F7C735BEAD2043) "_webrtc_audio_processor_init", referenced from: _WebRTCAudioLib_webrtc_audio_processor_init_m32E7B1E09E2C173FF96D2D865F8D2A043AB00977 in PhotonVoice.API.o _WebRTCAudioProcessor__ctor_mC17068F250D63B0ECB1F8E448CE86A9D76D72CAD in PhotonVoice.API.o (maybe you meant: _WebRTCAudioLib_webrtc_audio_processor_init_m32E7B1E09E2C173FF96D2D865F8D2A043AB00977) "_webrtc_audio_processor_create", referenced from: _WebRTCAudioLib_webrtc_audio_processor_create_m789BDD21F355798957D379A83DF8006278A2EFFC in PhotonVoice.API.o _WebRTCAudioProcessor__ctor_mC17068F250D63B0ECB1F8E448CE86A9D76D72CAD in PhotonVoice.API.o (maybe you meant: _WebRTCAudioLib_webrtc_audio_processor_create_m789BDD21F355798957D379A83DF8006278A2EFFC) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) Ld /Users/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/Build/Products/ReleaseForRunning-iphoneos/UnityFramework.framework/UnityFramework normal arm64 (in target 'UnityFramework' from project 'Unity-iPhone') cd /Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11 /Applications/Xcode11.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target arm64-apple-ios10.0 -dynamiclib -isysroot /Applications/Xcode11.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk -L/Users/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/Build/Products/ReleaseForRunning-iphoneos -L/Users/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/Build/Products/ReleaseForRunning-iphoneos/GoogleUtilities -L/Users/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/Build/Products/ReleaseForRunning-iphoneos/PromisesObjC -L/Users/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/Build/Products/ReleaseForRunning-iphoneos/nanopb -L/Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11/Libraries -L/Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11/Libraries/Photon/PhotonVoice/PhotonVoiceLibs/iOS -F/Users/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/Build/Products/ReleaseForRunning-iphoneos -F/Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current -F/Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11/Pods/GoogleAppMeasurement/Frameworks -F/Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11/Pods/GoogleUserMessagingPlatform/Frameworks/Release -F/Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11/Pods/GoogleWebRTC/Frameworks/frameworks -F/Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11/Frameworks/com.unity.ads/Plugins/iOS -F/Users/a/Desktop/WOLves/CurseWolves/PhotonTutorial/wolves11/Frameworks/Photon/PhotonVoice/PhotonVoiceLibs/iOS -filelist /Users/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/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/a/Library/Developer/Xcode/DerivedData/Unity-iPhone-dfwcsievlxffydhhhawwhsqlvxuj/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/

"_OBJC_CLASS_$_MFMailComposeViewController" error when building for XCODE Version 11.5

$
0
0
This is the error that appears on my game when trying to build: Undefined symbols for architecture arm64: "_OBJC_CLASS_$_MFMailComposeViewController", referenced from: objc-class-ref in UnityMail.o I've tried adding the Message.framework.UI to Xcode, but it still does not work... Can anyone help me? Thank you

UnityWebRequest.error return "cannot connect to destination host" on iOS13.5.1

$
0
0
I wanted to post a card to trello using UnityWebRequest.Post, but UnityWebRequest.error return "cannot connect to destination host" on iOS13 (tested on iOS13.5.1). It worked on iOS12.3.1, Android, and UnityEditor. Any idea what is going wrong? Here are the code: private void CheckWebRequestStatus( string errorMessage, UnityWebRequest uwr ) { if ( !string.IsNullOrEmpty( uwr.error ) ) { Debug.Log( errorMessage + ": " + uwr.error ); } } public IEnumerator UploadCardCO(TrelloCard card) { WWWForm post = new WWWForm(); post.AddField("name", card.name); post.AddField("desc", card.desc); post.AddField("pos", card.pos); post.AddField("due", card.due); post.AddField("idList", card.idList); UnityWebRequest uwr = UnityWebRequest.Post(cardBaseUrl + "?" + "key=" + key + "&token=" + token, post); uwr.timeout = m_uploadCardWebRequestTimeOut; yield return uwr.SendWebRequest(); CheckWebRequestStatus( "Could not upload new card to Trello", uwr ); } Here are the XCode log: 2020-08-27 14:10:24.786708+0800 MYAPP[929:197965] Task <6A508741-B288-4B15-BC95-516F58A4D2D3>.<1> HTTP load failed, 561/1771 bytes (error code: -1005 [4:-4]) 2020-08-27 14:10:24.795008+0800 MYAPP[929:197965] Task <6A508741-B288-4B15-BC95-516F58A4D2D3>.<1> HTTP load failed, 561/1771 bytes (error code: -1005 [4:-4]) 2020-08-27 14:10:24.798028+0800 MYAPP[929:197958] Task <6A508741-B288-4B15-BC95-516F58A4D2D3>.<1> finished with error [-1005] Error Domain=NSURLErrorDomain Code=-1005 "The network connection was lost." UserInfo={_kCFStreamErrorCodeKey=-4, NSUnderlyingError=0x281712d00 {Error Domain=kCFErrorDomainCFNetwork Code=-1005 "(null)" UserInfo={NSErrorPeerAddressKey={length = 16, capacity = 16, bytes = 0x100201bb1288d6130000000000000000}, _kCFStreamErrorCodeKey=-4, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalUploadTask <6A508741-B288-4B15-BC95-516F58A4D2D3>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalUploadTask <6A508741-B288-4B15-BC95-516F58A4D2D3>.<1>" ), NSLocalizedDescription=The network connection was lost., NSErrorFailingURLStringKey=https://api.trello.com/1/cards/?key=KEY&token=TOKEN, NSErrorFailingURLKey=https://api.trello.com/1/cards/?key=KEY&token=TOKEN, _kCFStreamErrorDomainKey=4} Could not upload new card to Trello: Cannot connect to destination host Any advice, solution or suggestion would be much appreciated.

XCode Swift Compiler Error Use of Unresolved Identifier "UnitySendMessage" how to fix?

$
0
0
---------- Hello! Please help with my problem. I'm having trouble solving this swift compiler errors. Especially UnitySendMessage(). Am I missing a plugin or import? Please give me a way how to fix it Been stuck with it for days. Thanks you! ---------- ![alt text][1] ---------- ![alt text][2] [1]: /storage/temp/166441-screen-shot-2020-08-29-at-31840-am.png [2]: /storage/temp/166442-screen-shot-2020-08-29-at-31934-am.png

Xcode keeps building old versions

$
0
0
I build a project in unity and then open it in xcode, run it on my iphone and it is an earlier version that has none of the new additions that i added. So in order to fix this I renamed the project before building it from unity, deleted the old project, cleaned the build folder, and deleted everything in the builds folder and the archives folder, and nothing works. I have no idea how xcode keeps remembering the old version and why it keeps building that one instead. Any help would be greatly appereciated.

duplicate symbols for architecture arm64

$
0
0
Im making a game in Unity 2019, I export it to iOS, then open it with Xcode 11.6, I made all the signing process, but when I want to build it I get: **81 duplicate symbols for architecture arm64** and here is the full error: https://justpaste.it/5uj8p I tried: - Removing the folder DerivedData - Cleaning the solution - Removed UnityAds from Unity (but still present on Xcode) - Looking for "Other Linker Flags" and remove "-ObjC" as most answers said, but "Other Linker Flags" was empty. - Locking GoogleAdsDependencies.xml as shown: https://answers.unity.com/questions/1355562/arm-64-function-not-4-byte-aligned-build-failed.html

Is there a work around for my Xcode simulation problem?

$
0
0
I tested my Unity game on target iOS devices using the Xcode simulators. I use Rect Transform, anchoredPosition to position game objects around the periphery of the device screen. The position of game objects using the Rect Transform differs between the hardware and the simulator on at least one device: case UnityEngine.iOS.DeviceGeneration.iPhone6SPlus. The hardware must be right - it's at large so the Unity editor/simulator must be wrong. I suspect other iPhones with the same logical display resolution are also wrong. Comparing the logical resolution of the device screen with the Unity editor values that correspond to the screen limits of the Rect Transform Pos X or Pos Y by dividing the logical resolution values, e.g. X axis 958 / 736 = 1.302, Y axis 540 / 414 = 1.304. The result has a fractional part. It's likely/possible that all devices with fractional scaling between logical resolution and screen limits of the Rect Transform are affected. All such devices are iPhones; all iPads variants are 1:1 and at least one device, my iPad Mini 2 is OK. I tried to create a bug report but no luck: error, error "bad filename". There are a lot of files in my project. This is the first time Unity complained about a filename. Sheesh ,I tested my game on target iOS devices using the Xcode simulators. I use Rect Transform, anchoredPosition to position game objects around the periphery of the device screen. The position of game objects using the Rect Transform differs between the hardware and the simulator on at least one device: case UnityEngine.iOS.DeviceGeneration.iPhone6SPlus. The hardware must be right - it's at large so the Unity editor/simulator must be wrong. I suspect other iPhones with the same logical display resolution are also wrong. Comparing the logical resolution of the device screen with the Unity editor values that correspond to the screen limits of the Rect Transform Pos X or Pos Y by dividing the logical resolution values, e.g. X axis 958 / 736 = 1.302, Y axis 540 / 414 = 1.304. The result has a fractional part. It's likely/possible that all devices with fractional scaling between logical resolution and screen limits of the Rect Transform are affected. All such devices are iPhones; all iPads variants are 1:1 and at least one device, my iPad Mini 2 is OK. My problem is that I can't trust the simulator. If I tailor my app to be right on the simulator it's likely/possible to be wrong on iPhones in the danger group. Having to buy a load of iPhones would suck.

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.

Xcode Error after Xcode update

$
0
0
![alt text][1] [1]: /storage/temp/167782-benwilles-2020-09-19-at-102427.png Hi, since new Xcode update I get this error while building in Xcode. Anybody a hint how to deal with?

How to add a new target in xcode via Unity code?

$
0
0
Hi, recently I'm trying to do add a new target ----Sticker Pack Extension by Unity code via PostProcessBuild, and I find a function called AddTarget, but according to the [unity document](https://docs.unity3d.com/ScriptReference/iOS.Xcode.PBXProject.AddTarget.html) I cannot find out what values I can use as the parameters in this function, and what kind of settings I need to set, May I ask for some help or where can I find some references about this function? Thanks.

Undefined symbols for architecture arm64

$
0
0
![alt text][1]hello i'm facing this problem when i try to build ios using unity can someone help me, please [1]: /storage/temp/168306-capture-decran-2020-09-28-a-143255.png

iOS plugin not all files copied - module.map missing

$
0
0
I'm using the following plugin for Android/iOS: https://assetstore.unity.com/packages/tools/integration/nice-vibrations-haptic-feedback-for-mobile-gamepads-108559 There are some swift files for iOS and bridges. There's also a module.modulemap file which I had never seen before. When I build locally in my Mac with Unity 2019.4.9f1, this file is being copied to the XCode project as expected, and the build settings variable SWIFT_INCLUDE_PATHS is set to the directory of this lib. When using doing an iOS build in Ubuntu by using Github Actions, the .modulemap file is not copied and the SWIFT_INCLUDE_PATHS is not set. Any ideas why this might be happening? Can this be a bug in the Ubuntu Unity version for iOS builds? Which files is Unity supposed to copy when generating XCode projects? ---------- Github action: https://unity-ci.com/docs/github/getting-started Docker image with Unity installed in Ubuntu: https://hub.docker.com/layers/gableroux/unity3d/2019.4.9f1-ios/images/sha256-a0f624327483665ef942cf4f71a3bd23943fafadf297d943efe7c252931fd720?context=explore
Viewing all 1047 articles
Browse latest View live


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