-
-
Notifications
You must be signed in to change notification settings - Fork 197
Help, App runs in Xcode and CLI but not on test flight #2302
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
Oh my. This is happening to me too. I've spent 5 days trying to find out why :( glad I'm not alone anymore. |
I have a prod app with 2.3 uploaded on November 14, I updated my mac on the 16th and then last week updated the app to NS 2.4 and made just a few js changes so I can't figure out what's wrong. I've tried going through the crash logs in xcode but I have no clue how to do that really :) I've published to iTunes with symbols and then tried downloading the dYms (not sure what that abbreviation is right now) but I can't see any actual errors in xcode just threads on the left side and nothing meaningful elsewhere |
My situation is exactly the way described in the issue. I can run in xcode and in simulator with the CLI commands. I successfully uploaded an archive to iTunes for TestFlight testing and the app will launch and crash. It doesn't seem to even start the app and enter the uncaughexception event (I have logs for that and not getting any logs). I have uninstalled xcode and reinstalled, made sure I have the latest xcode command line tools installed. I've played around in xcode so much I am depressed :) any help with this would be awesome. I'm glad I'm not the only one encountering this exact issue now. I'll gladly provide the exported app or anything else that can help someone figure it out. |
My system is a MacBook pro 2011 running the latest Mac OS (not at comp now but maybe 10.12), whichever gave us Siri :) and latest xcode and latest NS everything. Just for some system details |
We are using TestFlight for our public apps with 2.4, so there should be something specific here. @bradmartin can you share the app maybe? |
When the day starts here Im going to try downgrading xcode and see what happens. If that fails then I'll email you an export of the archive or I can send a zip of the application. Whatever works best to investigate. It's really strange, I thought it was just my app or my mac was screwed up but the original user who reported it has the same issue down to the final detail so something funny is going on for sure. |
Downgrading xcode to 7.3.1 has no change. I can run the app on connected device in xcode and via CLI to simulator 😢 I'm going to try and downgrade the NS bits to 2.3 and see if this changes anything so we have an idea where to go next. I'll report back with any news. After this last step I really have no clue what to possibly try so I'll be in touch @valentinstoychev with an exported archive and possibly a .zip of the application for you all to take a look on your side. Just FYI - I've exported the archive and opened it up to few the contents and everything looks okay from what I know (which isn't a whole lot on iOS unfortunately 😄 ) so maybe you all will see something. |
@victorhugom downgrade everything to 2.3 and it works fine. So 2.4 has something odd happening and not for everyone unfortunately. I'm going to provide the team with an archive that works and one that doesn't, only difference being the NS modules/runtimes |
@tsonevn I've sent the archives to @valentinstoychev via slack. If you all prefer a different way let me know. The folder labeled NASTC2-4 is with NS 2.4 and the other 2.3. Building with 2.3 and uploading the archive to itunes and running on testflight works every time. Everything I've tried with 2.4 doesn't work. Here is how I've been trying with 2.4 (a few issues encountered). First, I delete the
|
@victorhugom, @bradmartin, are there any logs from the crashes? What are your Xcode versions? |
I've tried with 8.1 and 7.3 xcode with same result. I do have crash logs but I'm not sure how to get any valuable information from them in xcode :( I open the log in xcode and on the left menu I see just threads that can be expanded and I select them and nothing shows anywhere else in xcode to see what caused the crash. I tried downloading the dYMs (whatever that acronym is in the organizer) to see if that helps (been reading and saw to download it) but it doesn't let me download anything. I publish with the symbols option enabled which i read is important for inspecting crashes also. |
It's the same result regardless of xcode version for me between the two versions I've tried. |
I can make a video of my workflow to show the issue and add someone to my TestFlight users if that helps any. Willing to do anything at this point to get past it. I wish I had some exceptions so I could actually fix myself just not sure where to find them in those crash logs in xcode |
could you please send us the app in order to try to publish it from our side, reproduce and examine this problem? A video of your workflow would help as well as if you add me ([email protected]) to your TestFlight users. |
After reading this forum thread https://forums.developer.apple.com/message/52955 I`ve tried a few solutions described in it, and what worked for me was rename the project root project folder. I don't know why but it just worked, I used to name my folder with [ProjectName].[SubProject], something like, Project.Api, Project.Admin and Project.App. I think the problem was the .App in the folder name, one of the issues with xcode is that you can't have a '+' sign in your project name, I thought that maybe the same problem was occurring with the '.' in the project name, I remove it and the app started to work. |
For me unfortunately, my project is just one word so I don't know if that will help me :( |
All good - the process I used with 2.3 wasn't the correct process (still worked but not right). Running the correct command |
Thanks @vchimev @valentinstoychev |
The NativeScript CLI has a Basically, if the DEVELOPMENT_TEAM value is specified in /App_Resources/iOS/build.xcconfig, the only think that left is to execute A link to its documentation could be found here. However, if you want to perform additional manipulations over the native project (not suggested), the best option is to use The reason that UPDATE: the |
I'm closing this issue as all mentioned problems were resolved. |
This comment was marked as abuse.
This comment was marked as abuse.
Thanks, @NathanaelA, this is correct. The |
I have an app running in nativescript for a few months, I deployed a free versions to the app store, but since the last xcode update I can't make it run on test flight anymore.
The app runs fine on the emulator and the device when I deploying via CLI or via Xcode, but the TestFlight submitted version it opens and close without any reason. I already remove some key dependencies requests of the app main screen (Facebook and Location) to see if anything changes, but the error continues.
Sorry to ask for help here, but it's been a week since I'm trying to figure out this error and I have no clue what it is.
The text was updated successfully, but these errors were encountered: