Skip to content
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

App name cannot be "app" #24

Open
cor opened this issue May 30, 2021 · 0 comments
Open

App name cannot be "app" #24

cor opened this issue May 30, 2021 · 0 comments

Comments

@cor
Copy link

cor commented May 30, 2021

npx degit halfnelson/svelte-native-template myapp; cd myapp; npm install; tns run ios => runs the project without any issues

npx degit halfnelson/svelte-native-template app; cd app; npm install; tns run ios => casuses the followigng error:

Project successfully prepared (ios)
Building project...
Xcode build...
error: Multiple commands produce '/Users/cor/Developer/app/platforms/ios/build/Debug-iphonesimulator/app.app/app':
1) Target 'app' has copy command from '/Users/cor/Developer/app/platforms/ios/app/app' to '/Users/cor/Developer/app/platforms/ios/build/Debug-iphonesimulator/app.app/app'
2) Target 'app' has link command with output '/Users/cor/Developer/app/platforms/ios/build/Debug-iphonesimulator/app.app/app'

note: Using new build system
note: Building targets in parallel
note: Using codesigning identity override:
note: Planning build
note: Constructing build description
warning: duplicate output file '/Users/cor/Developer/app/platforms/ios/build/Debug-iphonesimulator/app.app/app' on task: Ld /Users/cor/Developer/app/platforms/ios/build/Debug-iphonesimulator/app.app/app normal (in target 'app' from project 'app')
warning: Building for iOS Simulator, but the linked and embedded framework 'TNSWidgets.framework' was built for iOS + iOS Simulator. (in target 'app' from project 'app')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'MDFInternationalization' from project 'Pods')
** BUILD FAILED **

Unable to apply changes on device: 86FC61C9-C1D9-4F34-97F1-1848E52C2043. Error is: Command xcodebuild failed with exit code 65.

There should probably be a warning when a user tries to create an app with the name app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant