I am trying to run my iOS app that I developed in Unity on XCode but I am getting this error:
dyld: Symbol not found: _gEnableStylusTouch
Referenced from: /Users//Library/Developer/CoreSimulator/Devices/91CAEC4E-6706-4B87-AA7A-323CB629C56E/data/Containers/Bundle/Application/E591C7A6-EA53-470E-BDF0-8CF2C3DDF686/dsapp.app/dsapp
Expected in: flat namespace
in /Users//Library/Developer/CoreSimulator/Devices/91CAEC4E-6706-4B87-AA7A-323CB629C56E/data/Containers/Bundle/Application/E591C7A6-EA53-470E-BDF0-8CF2C3DDF686/dsapp.app/dsapp
This is only happening when I am running on the iPhone6 simulator. It works on all the simulators before iPhone6.
Here are some details of my environment:
Unity3D version: 5.3.3f1
XCode version: 7.2.1
Does anyone know how I can get rid of this error, I have read other related questions that say this problem has to do with linked frameworks and libraries but I am still unsure of how I can solve this issue. Any help is appreciated.
EDIT
Note that I am also getting this error when I submit to the apple store. It needs to be fixed otherwise I can't get my app in the store.
Added screenshots below.
In the Unity3D player settings for iOS, I changed the scripting backend from Mono to IL2CPP and selected Universal as my architecture and it worked. I submitted to the apple store with no errors and it was successfully reviewed and accepted. I'm not exactly sure why it solved the issue, I was just fiddling around with different options.
Related
I am working through the Stanford CS193 course on iOS/Swift. I did run into a rather technical problem while programming the second Twitter assignment. I was having difficulty running on my device (iPhone 6) although the simulator worked fine. I suspected I needed to upgrade from Xcode 7.2 to Xcode 8 and so I did that. After fixing obvious new errors (e.g. new try implemented on system objects), I still cannot get it to run - it (the simulator) exits with:
dyld: Library not loaded: #rpath/libswiftCoreLocation.dylib
Referenced from: /Users/peterwills/Library/Developer/Xcode/DerivedData/Smashspace-hdbpvcoeyafnkuaqzjqknhkcnful/Build/Products/Debug-iphonesimulator/Twitter.framework/Twitter
Reason: image not found
The culprit is a Twitter framework distributed with the course. I did a clean and rebuild of this framework but it still crashes with this message.
Any suggestions will be very much appreciated.
BTW, I build the framework for a generic iOS device and I am simulating an iPhone 6+. In fact, it crashes for any simulated device. Also, I have searched widely to get help on this (99.9% of the problems I have had are solved with a Google search) but had no luck with this. I believe that is because the error message happens in a variety of unrelated situations. In my case, it was not there in previous versions of Xcode and it is related to the cs193 Twitter framework.
I integrated Vungle Video ads framework in my project(Universal), works fine with the iPhone, but when I try to run the same Project in iPad it fails at compilation throwing following logs
This is due to you not being on the latest version of XCode:
"Our newest iOS SDK (3.0.13) was released in support of the newest version of XCode (6.3). Please verify you are using XCode 6.3 or higher to ensure a smooth integration.
If you are still using a version older than XCode 6.3, head over to the Appstore for a quick update to make sure you start serving Vungle ads in no time."
https://support.vungle.com/hc/en-us/articles/204451204-Vungle-s-iOS-SDK-3-0-13-and-XCode-6-3
I have answered a similar question HERE. please check it out.
I short what the problem might be that you are probably having multiple Vungle SDKs inside your project and so it is throwing duplicate symbols error. It might be possible that the error is due to another linker warning e.g.
ld: warning: directory not found for option '-F"/Users/user/Desktop/qwer/../../Documents/Unity Projects/Unity 5.0.0 projects/MyGame/Assets/Editor/Vungle/VungleSDK"'
View the above mentioned link for further details.
I'm updating my existing app to include support for Apple Watch (at this stage just handling of notifications), however when I archive my app and try to submit it to the app store for review I continually get this error.
I've tried playing around with the build settings and I've also tried googling the error, however I can't figure out what the issue is.
Does anyone have any ideas or has anyone come across this issue too?
You cannot submit an app for review using a beta version of Xcode.
Following today's Apple Watch official release, Apple updated Xcode to version 6.2 which in theory should allow submitting apps that contain Watch extensions. However I just tried to submit my app that includes support for Watch using the new Xcode, and got the same error. I hope this will be fixed sometime soon on the ItunesConnect site.
Has anyone else received that warning while uploading the application to App Store?
Everything was going well before today, but when I started to upload the application I began getting the below warning, telling me to update the architecture to support 64-bit.
When I performed the function asked of me, I began getting a lot of errors. If I upload it with a warning will it affect my other code?
We build the app in unity pro 4.5.5 and exported the project to Xcode with iOS 7.0 as build target. Now when we are changing it to standard architecture which consist of arm64 we get lot of errors stating that the unity libraries are not supporting arm64 architecture.
Please let me know if anybody is facing a similar warning while uploading the ipa and any preferable solutions or suggestions are welcomed. Thanks in advance for help.
Unity 4.6 latest version is fixing the armv64. So from now if you create a project in unity for iOS please update it to 4.6 and then create. Cheers.
I have searched Stack Overflow, Google and fellow peers for a current workaround in Xcode 6 for this error but have failed in doing so.
Note that this error occurs ONLY when attempting to run my app ON A DEVICE USING XCODE 6.
(This is not an issue when using the simulators, and I can build my app on a device using Xcode 5)
It seems to be a framework or library issue, but since it is able to work in almost every other possible way, I am not sure where the solution resides. I was using Xcode 6.0.
Here is the error:
I have checked my architecture settings, my frameworks and project files. Everything that needs to be included seems to be there.
This looks like it might be a silly error to do with Cocos2d and/or Xcode6. I have used SpriteBuilder to create the app. If you have a fix or have this error, any insight would be appreciated, thank you!
Found a fix. Downloaded the new Xcode6 version from the App Store. Xcode 6.0.1 (6A317) and it runs on all devices and simulators.
(There was no notification to update Xcode, you must search for it and download the new version)