TeamMaestro / angular-native-seed

Build web apps and NativeScript applications from one codebase using the AngularCLI.
265 stars 71 forks source link

npm run ios has errors during build #77

Open davexs2020 opened 6 years ago

davexs2020 commented 6 years ago

Hi,

I'm having some error after a fresh clone/install. XCode Version is 9.2 and npm install looks good.

tns run ios has error during build:

Building project... Xcode 8 requires a team id to be specified when building for device. You can specify the team id by setting the DEVELOPMENT_TEAM setting in build.xcconfig file located in App_Resources folder of your app, or by using the --teamId option when calling run, debug or livesync commands. Xcode build... 2017-12-22 00:49:03.181 xcodebuild[6781:196290] [MT] DVTAssertions: ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-13756/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/RuntimeSupport/MacroExpansion/XCMacroExpansionExtensions.mm:94 Details: Assertion failed: [value isKindOfClass:[NSString class]] || [value isKindOfClass:[NSArray class]]

Unable to apply changes on device: 8F019045-xxxx-xxxx-xxxx-375Cxxxx8B4C. Error is: Command xcodebuild failed with exit code null.

Any ideas why error points to xcode 8?

Thank you in advance.

sean-perkins commented 6 years ago

Try running the app on your simulator, not a connected device. When deploying to a device, you need to supply a team id/account to sign the app.