You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Not copying the CFBundleURLTypes from the plist file to the project #2892
After adding these lines and using the next runtime and modules the info.plist was successfully introduced in the build under platforms/ios/issue4388/issue4388-Info.plist where issue4388 is the name of the test project.
If you still have troubles adding the lines in your project you can try to rebuild it with deleted platforms folder
@patrickpereira even the newly created project has already created platforms folder. Can you try to delete the folder, make your changes in info.plist and then execute
tns build ios
In fact, even without deleting the platforms folder the changes made in info.plist should still be respected when rebuilding the project with tns build command - I have tested this on several projects with 100 percent success ratio.
@NickIliev I just removed the platform added the stuff in plist, and the tns build ios. With same result. This problem didn't occur while I was running Nativescript@3.0.3, it's only after I updated to next that this issue has started.
@patrickpereira I was under the impression you are running only the next for ios-runtime.
When tested with next of CLI (3.1.0-2017-06-13-9176) I was able to reproduce the issue you are describing.
Hey @patrickpereira, thank you very much for trying our @next version and reporting this issue. We've already applied a fix, so can you please try the latest @next version of NativeScript CLI and see if it resolves your issue?
Once again thanks for reporting this regression in our master branch.
Activity
NickIliev commentedon Jun 15, 2017
@patrickpereira using this sample project I was not able to reproduce the described problem.
After adding these lines and using the next runtime and modules the info.plist was successfully introduced in the build under platforms/ios/issue4388/issue4388-Info.plist where issue4388 is the name of the test project.
If you still have troubles adding the lines in your project you can try to rebuild it with deleted platforms folder
NickIliev commentedon Jun 15, 2017
From @patrickpereira on June 15, 2017 9:1
@NickIliev I created a brand new project again, and after building the project - same issue happens.
package.json
./app/App_Resources/iOS/Info.plist
./platforms/ios/PlistTest/PlistTest-Info.plist
NickIliev commentedon Jun 15, 2017
@patrickpereira even the newly created project has already created platforms folder. Can you try to delete the folder, make your changes in info.plist and then execute
In fact, even without deleting the platforms folder the changes made in info.plist should still be respected when rebuilding the project with
tns buildcommand - I have tested this on several projects with 100 percent success ratio.NickIliev commentedon Jun 15, 2017
From @patrickpereira on June 15, 2017 10:2
@NickIliev I just removed the platform added the stuff in plist, and the tns build ios. With same result. This problem didn't occur while I was running Nativescript@3.0.3, it's only after I updated to next that this issue has started.
NickIliev commentedon Jun 15, 2017
From @patrickpereira on June 15, 2017 10:3
I will just downgrade to 3.0.3, to see if it fixes it, will let you know.
NickIliev commentedon Jun 15, 2017
From @patrickpereira on June 15, 2017 10:6
Yes I can confirm it works as you describe on 3.0.3, but not on the next version.
NickIliev commentedon Jun 15, 2017
@patrickpereira I was under the impression you are running only the next for ios-runtime.
When tested with next of CLI (3.1.0-2017-06-13-9176) I was able to reproduce the issue you are describing.
rosen-vladimirov commentedon Jun 26, 2017
Hey @patrickpereira, thank you very much for trying our
@nextversion and reporting this issue. We've already applied a fix, so can you please try the latest@nextversion of NativeScript CLI and see if it resolves your issue?Once again thanks for reporting this regression in our master branch.
Add test for NativeScript/nativescript-cli#2892