hullunist
hullunist

Reputation: 1277

Can't compile iOS-App in Ad-Hoc mode (Xamarin.iOS)

So basically I'm following this official Xamarin guide to release my app in the AppStore.

However no matter what I try (changing signing profiles, different build options) the solution-process crashes every time after 1-2 minutes with different errors that don't explain what exactly went wrong (signing error, user aborted?!, etc.).

After the error is shown I always have to reconnect to the Mac. What could be the problem?

EDIT:

Tool exited with code: 1. Output: CSSM_SignData returned: 800108E6 /Users/metadokentwicklung/Library/Caches/Xamarin/mtbs/builds/mWIDAS_iOS/806c20450998d745a5c8df0e4928100f/bin/iPhone/Ad-Hoc/mWIDAS_iOS.app: errSecInternalComponent mWIDAS_iOS

I tried the publish profiles (Ad-Hoc,AppStore,automatic) and provisioning profile.

Upvotes: 7

Views: 1942

Answers (2)

cd491415
cd491415

Reputation: 891

I resolved this issue by:

  1. Cleaning my solution
  2. Closing VS4Mac
  3. Shut down Macbook Pro
  4. Start Macbook Pro
  5. Reopen my solution
  6. Build iOS head project (I am working in Xamarin.Forms)

And it built successfully this time. I am noticing lots of issues from Windows VS are creeping into VS4Mac by each update. Not sure why this was happening but that resolved my issue

Upvotes: 0

hullunist
hullunist

Reputation: 1277

Okay solved the problem myself a few days ago. Dumb mistake on my behlaf.

I use the same monitor for the Mac Mini and the Windows PC so I didn't see the popup on the Mac prompting me to accept the use of the keyfile.

After I agreed to it everything worked like a charm.

Upvotes: 12

Related Questions