Skip to content

App name cannot be "app" #24

@cor

Description

@cor

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions