-
-
Notifications
You must be signed in to change notification settings - Fork 197
Failed to verify bitcode in TNSWidgets.framework/TNSWidgets #4019
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Opting out of the new build system did not solve the problem for me. 😞 |
@jpakulski I had a similar issue when attempting to distribute my app via Enterprise, the workaround that worked in my instance was unchecking the 'Rebuild from Bitcode' option shown in the screenshot below. When distributing apps via the traditional method of iOS App Store, I am able to recheck this option so it would certainly be nice for the settings to be consistent across distribution options. Hopefully this helps! 😃 |
@keithgulbro When I tried that the app immediately closed when I attempted to open it on a test device, are you able to run the app on a distributed device with @rosen-vladimirov Is there any status update on this? I just tried to create a brand new Hello World app with Angular after updating to NS 5.4 as well as updating XCode to 10.2.1 and this issue still persists. |
Hey @tylerablake , |
Hey @tylerablake ,
And see if it will resolve the issue. |
It still gives me the same error. I don't think there is, I think that is just habit (maybe a bad one :) ) from an old tutorial when I was getting started. I have been using the output from the |
@rosen-vladimirov I am also seeing the error from the screenshot above. I ran From the distribution log:
|
I added to
This has resolved the issue seen above. Build processing is pending on AppStore, but hopefully this restores functionality to the frameworks in question (specifically sqlitewrapper, which had lost all functionality). I'm unable to find the source for this script, unfortunately, so I'm not sure where I should be modifying it for a pull request. Modifying the file within the |
@rosen-vladimirov I face the same issue if I try to build a dev ipa with xcode. I've also tried to build it without xcode with @facetious I've added those lines to the file you mentioned but xcode is still returning the same error. Do I need to build a new compilation/archive for this to work? Could you please explain the steps before/after adding this lines to the file? |
@cerealexx Because this is added to a file in a generated folder, I wouldn't consider it safe to modify and then run After you've added those lines (as lines 62-64), building from Xcode should have lines like these in the Archive log:
With |
Same error here - archiving works with nativescript 5.2 and fails with 5.3 up to 6.1.2. |
Recent xcode update has fixed this error on our side. |
Hey guys, I was able to reproduce the issue using Xcode 10. The error that pop ups is a really strange as we've disabled bitcode inside However, I was able to reproduce the error with brand new iOS application created from Xcode that has embedded framework. So, it seems as issue in Xcode 10 itself in case when non-App Store distribution method is used (in my case Ad Hoc distribution) and application has embedded framework. As @klaask mentioned, the issue is not reproduced with Xcode 11, it seems as resolved. So, @jpakulski, @SephReed, @keithgulbro, @tylerablake, @facetious, @cerealexx can you please check on your side if the issue is resolved with official Xcode 11? PS: @facetious: The |
I haven't had this problem for a while and can't say when it changed or why. Sorry :/ |
All seems well on our side when using the Xcode 11. |
I'm closing this issue as it seems resolved with latest official Xcode 11. Feel free to open an another issue in case you still have problems with bitcode while uploading. |
Environment
Component nativescript has 4.2.4 version and is up to date.
Component tns-core-modules has 4.2.1 version and is up to date.
Component tns-ios has 4.2.0 version and is up to date.
Plugins
Describe the bug
Started when I was forced to update Xcode to version 10 (to make iOS 12 builds).
Happens when trying to create an Enterprise Archive using XCode. App builds fine but fails with the following error when Enterprise distribution is selected:
I can run the app using the simulator and a dev. build on real device.
I helped reporting a similar issue with the firebase plugin here. And @EddyVerbruggen fixed the bad lib.
This is probably related to this issue.
To Reproduce
Create an Enterprise Archive in XCode 10 of an app which uses TNSWidgets.framework.
Expected behavior
Enterprise archive created.
Thank You
The text was updated successfully, but these errors were encountered: