I want to code an app with augmented reality support by Wikitude. For that I use the native SDK for iOS from Wikitude. Setup and everything works, like it is described on their website/documentation.
When I run the app from Xcode on my iDevice, the app launches and crashes immediately with the following error:
dyld: Library not loaded: #rpath/libswiftSecurity.dylib
Referenced from:/private/var/mobile/Containers/Bundle/Application/some-number/App.app/Frameworks/WikitudeNativeSDK.framework/WikitudeNativeSDK
Reason: image not found
I have googled my way through the web now, still no solution found about how to fix this problem/bug/whateverthismightbe. I cleaned the whole project, removed the DerivedData-Files, restarted Xcode, nothing works.
My setup is: OS X 10.11, Xcode 7.0.1, iOS 9.0.2
Maybe someone had this problem too and solved it, would be nice to know!
Thanks in advice.
Related
We are trying to make a build of React Native app in iOS and everything goes fine when we run the app on the iOS device whether it is in debug mode or release mode.
But for uploading when we try to make the archive of the app in Xcode then it throws an peculiar error that : Duplicate interface definition for class 'RCTEventEmitter'
We are really struck solving this, if someone could please help us.
React Native version is 0.59.10
https://share.getcloudapp.com/7KuyKmAn This is the error.
Any help regarding this is really appreciated.
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 have an iOS application which utilizes some cordova plugins and uses the standard UIWebView wrapper.
With iOS 8, I go to upload an image in a UIWebView, the app crashes. Xcode give an "App terminated due to memory error" and not much else. This issue was also occurring in Safari initially, but Apple patched that up in iOS 8.0.1.
A couple weeks ago, I found this solution which fixed the crash issue for me. Now, however, iOS 8.1 is out and the issue is happening again. I've tried all sorts of combinations of deployment targets and base SDK settings in my CordovaLib.xcodeproj settings and my main project's build setttings, but I'm not having much luck.
I'm testing this on an iPhone 6.
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)
I have xcode 4.5 with 6.1 sdk.
I updated my iphone to iOS 7.0.
opened my project on xcode selected my device and clicked run.
I got the following error:
dyld: could not load inserted library '/Developer/usr/lib/libXcodeDebuggerSupport.dylib' because image not found
image not found error is a new one didn't find anywhere on the internet. It's not the old libXcodeDebuggerSupport.dylib error people got when they updated their devices with earlier versions of Xcode.
I did link or/and copied developer folder from "5.1.1 (9B206)" to "7.0 (11A465)".
But still getting same error.
Does anyone managed to run on iOS 7 device from xCode 4.5? Thanks
I believe that to do device debugging on iPhone with iOS7 you will require to use XCode 5 with iOS7 toolchain. XCode 4.5 is older release and may not have the toolchain for latest iOS7.
For those who have not yet installed Xcode 4.5, the app can still be debugged by Attaching to Process. Try to debug directly from xcode first. By the time debug fails, the app will still have been installed on the device. Then run the app on the device, and Attach to Process from Xcode.