Using ios-sim 3 throws errors

Is anyone getting errors when building their Ionic app using ios-sim v3? I followed the Ionic/Auth0 tutorial, Adding Auth to your Ionic App in 5 minutes, on a mac using ios-sim v3. When I do “ionic build ios” it throws the following error:

The following build commands failed:
CompileC build/Ionic\ +\ Auth0.build/Debug-iphonesimulator/Ionic\ +\ Auth0.build/Objects-normal/i386/main.o Ionic\ +\ Auth0/main.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
CompileC build/Ionic\ +\ Auth0.build/Debug-iphonesimulator/Ionic\ +\ Auth0.build/Objects-normal/i386/AppDelegate.o Ionic\ +\ Auth0/Classes/AppDelegate.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
CompileC build/Ionic\ +\ Auth0.build/Debug-iphonesimulator/Ionic\ +\ Auth0.build/Objects-normal/i386/MainViewController.o Ionic\ +\ Auth0/Classes/MainViewController.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(3 failures)
Error: /Users/piet/Sites/sandbox/auth0-ionic/examples/refresh-token-sample/platforms/ios/cordova/build: Command failed with exit code 65
at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Process.ChildProcess._handle.onexit (child_process.js:823:5)

I tried building the same app on a mac running ios-sim v2 and it builds just fine. Any reason for this?

1 Like