xamarin / ios-samples

Xamarin.iOS sample apps

Home Page:http://docs.microsoft.com/xamarin/ios/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to load project in my physical iPhone Device

arpanpatel94 opened this issue · comments

Hey Tech Team,

I want to try a Apple Health services in my iOS Application by using Xamarin. So, I Downloaded a demo app that you are Uploaded in Github as IntroToHealthKit

I'm trying to load that sample HealthKit GitHub Demo on my MacBook But, it shows me Error & says (kAMDIncorrectArchitectureError).

It's a crucial needed to run that demo for test before implementing. Here i'm attaching some Error Logs and some screen shots below.

Error Logs :

IncorrectArchitecture: Failed to find matching arch for 64-bit Mach-O input file /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.lBNtCz/extracted/HKPermissions2.app/HKPermissions2
error MT1006: Could not install the application '/Users/jaysanjay/Desktop/IntroToHealthKit/HKWork/bin/iPhone/Debug/HKPermissions2.app' on the device 'jay’s iPhone': AMDeviceSecureInstallApplicationBundle returned: 0xe8000087 (kAMDIncorrectArchitectureError).

Application could not be uploaded to the device.

Screen Shot :

screen shot 2018-11-04 at 3 43 49 pm

Help me, Guys.

@arpanpatel94 Did you manage to get this resolved?

This is because the sample project is configured to only build for 64-bit, and you have a 32-bit device.

You can make it build for 32-bit if you select ARMv7 as the Supported architecture in the project's iOS Build options.