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.
Related
I just upgraded XCODE to 13.3.1 and my app crashes on startup when installing from TestFilght. When I build it directly on the phone there is no issue with the app.
There are no crash logs and can't see the logs on the device itself. I don't know what will happen if I'll publish it to the store and I don't want to try. The app should work on TestFlight
I searched the internet and it's an Apple bug. So let me summarize all the solutions here-
Disabling bitcode (setting to NO)- is the only working solution- but I don't want to disable it.
If any of you have another solution please let me know!
Other solutions that didn't work-
Updating XCODE to 13.4 - didn't help
Adding "-Wl,-weak-lswift_Concurrency -Wl,-rpath,/usr/lib/swift"- didn't help
Adding libswift_Concurrency.tbd in the "Link Binary with Libraries" - didn't help
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.
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.
I have an app that uses multiple CocoaPods. I have built at least 10 versions of TestFlight builds with no problems and then one day my app using a new build started crashing when a custom alert view from a CocoaPod was being presented.
I know it has something to do with CocoaPods and TestFlight builds because when I run the app on my iPhone from Xcode, it works perfectly fine with no errors. It just seems to be forgetting that one CocoaPod.
If anyone could provide me with any help, it would be greatly appreciated.
Deleting the CocoaPod and reinstalling did the trick!
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)