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\ +\\ +\ Ionic\ +\ Auth0/main.m normal i386 objective-c
CompileC build/Ionic\ +\\ +\ Ionic\ +\ Auth0/Classes/AppDelegate.m normal i386 objective-c
CompileC build/Ionic\ +\\ +\ Ionic\ +\ Auth0/Classes/MainViewController.m normal i386 objective-c
(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