How to build and deploy an ios api file in real device using MAC


i am new to mac, so for i have installed xcode and successfully added the platform for ios.

When i give adb devices i am not able to detect my device name for iphone but when i connect android and give adb devices i am getting my device .

when i give ionic build ios i'm getting the following errors. i don't know how to enable the developer option in iphone



Check dependencies

Signing for "myFirst" requires a development team. Select a development team in the project editor. Code signing is required for product type 'Application' in SDK 'iOS 10.3'


The following build commands failed: Check dependencies (1 failure)

Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/subbarao/Desktop/myFirst/platforms/ios/cordova/build-debug.xcconfig,-workspace,myFirst.xcworkspace,-scheme,myFirst,-configuration,Debug,-destination,generic/platform=iOS,-archivePath,myFirst.xcarchive,archive,CONFIGURATION_BUILD_DIR=/Users/subbarao/Desktop/myFirst/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/subbarao/Desktop/myFirst/platforms/ios/build/sharedpch



You need a development provisioning profile on your build machine. Apps can run on the simulator without a profile, but they are required to run on an actual device.

If you open the project in Xcode, it may automatically set up provisioning for you. Otherwise you will have to create go to the iOS Dev Center and create a profile.

<a href="https://stackoverflow.com/questions/34166175/cordova-run-with-ios-error-error-code-65-for-command-xcodebuild-with-args/39875191" rel="nofollow">cordova run with ios error .. Error code 65 for command: xcodebuild with args:</a>

Same question here by this guy Try to sign in as ios dev account in Xcode

or try

ionic platform remove ios

ionic platform add ios

i was getting the same error but i tried the above command and its working now thanks


  • How do I embed a custom user-control in MS Word?
  • Find symbol dependencies in source code [closed]
  • gulp.watch running same task multiple times when saving many files
  • Many to many relationship core data query for specific collection
  • CKeditor stripping font tags instead of converting to span
  • How can I add div content to a new page in jspdf?
  • Is there a way to choose which files are displayed to the user via the standard OPENFILE dialogs?
  • python: forcing relative imports to search from script file
  • Does Apportable support to build library binary (.a/.so)?
  • Who propagate bugfixes across branches (corporate development)?
  • Can I programmatically choose the Android layout folder?
  • Graphics.CopyFromScreen [Web application] + The handle is invalid
  • Jenkins: FATAL: Could not initialize class hudson.util.ProcessTree$UnixReflection
  • Does Mobilefirst provide a provision to access web services directly?
  • Spring Cloud Microservice Architecture Confusion
  • Firefox Extension - Monitor refresh and change of tab
  • ADO and msqli connections very slow
  • Very simple C++ DLL that can be called from .net
  • Switching to Release Build causes runtime error in Web Reference
  • How to avoid particles glitching together in an elastic particle collision simulator?
  • Can I check if a recipient has an automatic reply before I send an email?
  • Recording logins for password protected directories
  • How can I send an e-mail from a vbs script
  • Splitting given String into two variables - php
  • Getting last autonumber in access
  • Check if a string to interpolate provides expected placeholders
  • ORA-29908: missing primary invocation for ancillary operator
  • jQuery tmpl and DataLink beta
  • How to get next/previous record number?
  • QuartzCore.framework for Mono Develop
  • Is there a mandatory requirement to switch app.yaml?
  • Acquiring multiple attributes from .xml file in c#
  • How do you join a server to an Active Directory (domain)?
  • -fvisibility=hidden not passed by compiler for Debug builds
  • How to CLICK on IE download dialog box i.e.(Open, Save, Save As…)
  • How does Linux kernel interrupt the application?
  • How can I remove ASP.NET Designer.cs files?
  • Does armcc optimizes non-volatile variables with -O0?
  • UserPrincipal.Current returns apppool on IIS
  • java string with new operator and a literal