Click here to Skip to main content
15,444,353 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: We all have things we don't like about our job but... Pin
Foothill20-Apr-17 3:10
professionalFoothill20-Apr-17 3:10 
GeneralRe: We all have things we don't like about our job but... Pin
Sander Rossel19-Apr-17 20:46
professionalSander Rossel19-Apr-17 20:46 
JokeThe light that burns twice as bright.. Pin
Duncan Edwards Jones19-Apr-17 11:00
professionalDuncan Edwards Jones19-Apr-17 11:00 
GeneralRe: The light that burns twice as bright.. Pin
TheGreatAndPowerfulOz19-Apr-17 11:11
MemberTheGreatAndPowerfulOz19-Apr-17 11:11 
GeneralRe: The light that burns twice as bright.. Pin
EveryNameIsTakenEvenThisOne19-Apr-17 12:28
professionalEveryNameIsTakenEvenThisOne19-Apr-17 12:28 
GeneralRe: The light that burns twice as bright.. Pin
Mark_Wallace19-Apr-17 20:42
MemberMark_Wallace19-Apr-17 20:42 
GeneralRe: The light that burns twice as bright.. Pin
Basildane20-Apr-17 1:49
MemberBasildane20-Apr-17 1:49 
GeneralBuilding iOS using Xamarin in Visual Studio Pin
Chris Maunder19-Apr-17 9:42
cofounderChris Maunder19-Apr-17 9:42 
I'm almost at the point of defeat.

To develop an iOS app using Visual Studio / Xamarin you need to connect to a host Mac running XCode.

Getting Visual Studio to connect to the Mac involved physically setting up a new router since Wifi seemed to be a problem, then installing XCode. And Xamarin Studio. Or may this wasn't necessary - depends on the forum you read. And cursing. And then suddenly it worked.

But then adding my Apple account to Xamarin requires installing fastlane which throws you to a terminal window in order to login to your account (but which? macOS or AppleID? Turns out AppleID), which then borks because you need to create an App-specific password, Which then doesn't work.

So back to VS. I build, but the build fails because I need a code signing certificate. Back to the mac. Generate a CSR, create a cert, download the cert, install it in the keychain (the login one, it turns out), and try again.
error : No installed provisioning profiles match the installed iOS signing identities.

OK. Sigh. Xamarin help says to use the "Organiser" window in XCode, so I go there, and I see "Archives" and "Crashes". Nothing in Archives, but "Crashes", for some reason, offers me the chance to sign in with my Apple Id and from there I can see my signing identities and provisioning profiles. Except it's not offering to create a provisioning profile.

So back to developer.apple.com to manually create a provisioning profile and we try again. No luck.

OK. Let's step back and have another crack at adding an account to Xamarin. Looks like the issue is with 2FA and the Apple ID. I hear that VS Code solves this so I download VS code, install, run, add account. It works!

I rebuild in Visual Studio on my Windows machine. It works! Oh - no it doesn't. No provisioning profile.

So I hunt around, I try to manually create a profile but it's asking for my device ID (what's the ID of an emulator?) and I give up. A day lost.

So I move to VS Code on the Mac and create a new project from the project templates and attempt to build / run. Except it doesn't even build. A new project generated by VS Code with zero changes doesn't even build out of the box. Looks like it's Android issues so I unload that portion and try the iOS.

No provisioning profile.

FFS.

I know this stuff all works. Somehow. I'm just stunned beyond words that it's this painful, this complicated, this frustrating, this badly and misleadingly documented, and yet more patient people than I have worked through it.

It gives me such an immense respect for how simple Microsoft have made software development in complex and heterogeneous technologies (notwithstanding the pain of Xamarin / VS Code)
cheers
Chris Maunder

GeneralRe: Building iOS using Xamarin in Visual Studio Pin
Slacker00719-Apr-17 11:10
professionalSlacker00719-Apr-17 11:10 
GeneralRe: Building iOS using Xamarin in Visual Studio Pin
Gandalf_TheWhite20-Apr-17 0:07
professionalGandalf_TheWhite20-Apr-17 0:07 
GeneralRe: Building iOS using Xamarin in Visual Studio Pin
User 1013254619-Apr-17 11:35
MemberUser 1013254619-Apr-17 11:35 
GeneralRe: Building iOS using Xamarin in Visual Studio Pin
Chris Maunder19-Apr-17 12:05
cofounderChris Maunder19-Apr-17 12:05 
GeneralRe: Building iOS using Xamarin in Visual Studio Pin
User 1013254619-Apr-17 12:48
MemberUser 1013254619-Apr-17 12:48 
GeneralRe: Building iOS using Xamarin in Visual Studio Pin
Mike Marynowski20-Apr-17 8:27
professionalMike Marynowski20-Apr-17 8:27 
GeneralRe: Building iOS using Xamarin in Visual Studio Pin
Chris Maunder20-Apr-17 10:23
cofounderChris Maunder20-Apr-17 10:23 
GeneralRe: Building iOS using Xamarin in Visual Studio Pin
Mike Marynowski20-Apr-17 10:37
professionalMike Marynowski20-Apr-17 10:37 
GeneralRe: Building iOS using Xamarin in Visual Studio Pin
Chris Maunder20-Apr-17 10:42
cofounderChris Maunder20-Apr-17 10:42 
GeneralRe: Building iOS using Xamarin in Visual Studio Pin
Mike Marynowski20-Apr-17 11:09
professionalMike Marynowski20-Apr-17 11:09 
GeneralRe: Building iOS using Xamarin in Visual Studio Pin
Chris Maunder21-Apr-17 3:10
cofounderChris Maunder21-Apr-17 3:10 
GeneralRe: Building iOS using Xamarin in Visual Studio Pin
User 483504719-Apr-17 12:51
MemberUser 483504719-Apr-17 12:51 
GeneralRe: Building iOS using Xamarin in Visual Studio Pin
Gandalf_TheWhite20-Apr-17 0:10
professionalGandalf_TheWhite20-Apr-17 0:10 
GeneralRe: Building iOS using Xamarin in Visual Studio Pin
Saša Ćetković20-Apr-17 2:25
professionalSaša Ćetković20-Apr-17 2:25 
GeneralRe: Building iOS using Xamarin in Visual Studio Pin
User 483504720-Apr-17 5:39
MemberUser 483504720-Apr-17 5:39 
GeneralRe: Building iOS using Xamarin in Visual Studio Pin
ClockMeister20-Apr-17 2:38
professionalClockMeister20-Apr-17 2:38 
GeneralRe: Building iOS using Xamarin in Visual Studio Pin
parths19-Apr-17 21:11
Memberparths19-Apr-17 21:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

What topics would you like to learn more about?
Contributed by Marc Clifton.
  Results   436 votes