mcfly-io / generator-mcfly

A Yeoman generator for scaffolding an application using angular, browserify, ionic and famous
323 stars 43 forks source link

Running Corvoda app causing error 65 #309

Closed Doginal closed 7 years ago

Doginal commented 8 years ago

I have followed the instructions to Cordova applications but when i run gulp browsersync --target iOS (app name iOS) Glup fails to open iOS sim (browserify opens no problem), I have Xcode install on my laptop.

I cant seem to get the iOS app to run at all. I can not find any info on the net about this error.

[11:22:30] Error: ** BUILD FAILED **

The following build commands failed:
    CompileC build/dvs.build/Debug-iphonesimulator/dvs.build/Objects-normal/i386/IonicDeploy.o dvs/Plugins/ionic-plugin-deploy/IonicDeploy.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/me/Documents/projects/dvs/dist/iOSapp/dev/platforms/ios/cordova/build-debug.xcconfig,-project,dvs.xcodeproj,ARCHS=i386,-target,dvs,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/me/Documents/projects/dvs/dist/iOSapp/dev/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/me/Documents/projects/dvs/dist/iOSapp/dev/platforms/ios/build/sharedpch

node v5.4.1 npm 3.6.0

Thanks, Doginal

Doginal commented 8 years ago

so if I run ios-sim from command line everything opens but using above command ios-sim never opens! I'm not sure why glup isnt work!

Doginal commented 7 years ago

For the record, Error code 65 from what I could find online, means your Apple signing certs are not readable or do not exist. Check your apple signing certs are readable, you can also set which one to use in dist/app/{dev,prod}/platforms/ios/cordova/{build.xcconfig, build-release.xcconfig}