iOS contact tutorial

Hey guys,

does anyone knows a good tutorial how to import contacts from a device.
I tried these here:
https://calendee.com/2014/07/17/cordova-contacts-plugin-with-ionic-framework/


With each one i got failures, for example it didn’t load anything or this here:

** BUILD FAILED **

The following build commands failed:
Check dependencies
(1 failure)
Error code 65 for command: xcodebuild with args: -xcconfig,/Users/AndreDriesel/apps/Ref_IonicContacts/platforms/ios/cordova/build-debug.xcconfig,-project,Ref_IonicContacts.xcodeproj,ARCHS=armv7 armv7s arm64,-target,Ref_IonicContacts,-configuration,Debug,-sdk,iphoneos,build,VALID_ARCHS=armv7 armv7s arm64,CONFIGURATION_BUILD_DIR=/Users/AndreDriesel/apps/Ref_IonicContacts/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/AndreDriesel/apps/Ref_IonicContacts/platforms/ios/build/sharedpch
ERROR running one or more of the platforms: Error: /Users/AndreDriesel/apps/Ref_IonicContacts/platforms/ios/cordova/run: Command failed with exit code 2
You may not have the required environment or OS to run this project

Anyone got an idea?

Another question:
Is it to possible to test my app on my macbook and import the contacts from my iPhone?

Is it to possible to test my app on my macbook and import the contacts from my iPhone?

You can also create contacts in the simulator, these will be used when running your app there then.

1 Like

And do you know any good tutorial?
The latest i found is from november 14 …

for example this one: