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 #4388
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.
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
patrickpereira commentedon Jun 15, 2017
@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.patrickpereira commentedon Jun 15, 2017
@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 commentedon Jun 15, 2017
I will just downgrade to 3.0.3, to see if it fixes it, will let you know.
patrickpereira commentedon Jun 15, 2017
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.
NickIliev commentedon Jun 15, 2017
This issue was moved to NativeScript/nativescript-cli#2892
lock commentedon Aug 28, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.