Can't add Apple developer account VS mac 2017 - xamarin.ios

I am trying to add my Apple developer account to Visual studio.
In Preferences > "Apple Development Accounts" I click on the plus icon and Visual studio redirects me to fastlane.
I can add the account, and it asks for the permissions. I click on Always allow.
VS shows "Your session has expired" Please log in.
Error message image capture
I can compile a project with the same package name in xcode, and it assigns a profile correctly and signs it.
I have installed Mac OS 10.12.5 Xcode 8.3.3 Visual Studio for Mac Version 7.0.1 (build 24) Fastlane updated today
I do not have much Mac experience, is there a log that I can check to identify the error?

Make sure fastlane is installed properly by going to https://developer.xamarin.com/guides/ios/deployment,_testing,_and_metrics/provisioning/fastlane/
Once you have fastlane installed, open up a console and run "fastlane cert". You'll be prompted to sign into fastlane using your developer account credentials. After you're signed in, fastlane should add your cert to the keychain.
Go back into Apple Developer Accounts in VS Preferences and try adding your account again. This time you should not get the session timeout error.

Related

Elevator.exe in Android Studio update

During Android Studio update, it was noticed that elevator.exe (Verified publisher: JetBrains s.r.o) was installed on my computer. What is this application for and why is it required for Android Studio?
P.S - I am aware that Android Studio is Powered by the IntelliJ platform.
According to the commit history in the source code for intellij-community/bin/win/elevator.exe on Github, the very first commit (May 17, 2017) states:
Add sudo-like tool for windows to deal with UAC…
When admin user launches Intellij, Windows revokes many user
privileges to improve safety for admin users (that is how UAC works).
One can't access "Program Files": any attempt to write something there
leads on ACCESS_DENIED(5) error even if NTFS reports file is writable
The only way to elevate privileges is to launch process as elevated.
"Elevator.sln" is Win32API app that launches command as elevated. See
its sources for more info.
On Windows, application softwares (like IntelliJ or Android Studio) are limited to standard user privileges until an administrator authorizes an increase or an elevation occurs.
Since IntelliJ powers Android Studio, it makes sense for that file to show up in an Android Studio update.

iOS build fails in Xamarin Activation step after upgrading to Xcode 8.0 on the agent

I have a mac setup as a Xamarin build agent for Visual Studio and Visual Studio Team Services (VSTS). On Friday, Xcode updated itself to 8.0 with the iOS 10 SDK. This, of course broke everything. I managed to get Visual Studio to reconnect after upgrading both Xamarin iOS on the mac and Xamarin for Visual Studio.
Now, my only issue that is that the VSTS agent fails to build. This agent runs on the same machine as the Visual Studio agent that works (e.g. I can build in Visual Studio and it builds on the mac and gives me an ipa). I haven't changed any build settings since the upgrade.
Here is where it fails, in the Xamarin Activation build step:
Yes, I double and triple checked that the XamarinPassword variable is correct. In fact, if I enter the wrong password, it will fail with an invalid login error.
Here is the error:
******************************************************************************
Starting: Activate Xamarin license
******************************************************************************
warning MT0061: No Xcode.app specified (using --sdkroot), using the system Xcode as reported by 'xcode-select --print-path': /Applications/Xcode.app/Contents/Developer
error MT0052: No command specified.
/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mtouch --datafile
Xamarin.iOS 10.0.0 using framework: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator0.0.sdk
Failed to activate Xamarin license. {"code":1,"message":"An internal error occurred. Please email us at contact#xamarin.com and make sure to include the address associated with your Xamarin account ."}
Return code: 1
Is the VSTS agent ready for iOS 10? Should I downgrade everything back to before Friday and before the Xcode 8.0 update? Am I missing something new in the configuration?
The solution is that you can remove Xamarin license task, because it is no longer needed to build Xamarin app. (refer to this article)

Xamarin set up IOS build host

I am using visual studio for Xamarin development and I have a business license for both Android and IOS. The Android version of my project is nearing completion and I want to begin development on the IOS version.
I am following the process listed in the requirements and installation section of the below link:
http://developer.xamarin.com/guides/ios/getting_started/installation/windows/introduction_to_xamarin_ios_for_visual_studio/
I have added my Apple Account ID to XCode however as far as I can tell you need to manually assign an IOS Certificate to the build hosts keychain to beable to build from visual studio
If you are using Visual Studio for Xamarin.iOS development, you also
have the option of provisioning manually using the Apple Developer
Portal.
Now as far as I can tell this has a $99 cost involved? Is this fee mandatory before I can build any IOS apps from visual studio ?
EDIT:
After pairing the build host and building my app it seems my suspicions are confirmed. A IOS Development Certificate
stored in the keychain is required
As far as i know you don't actually need the iOS Certificates for developing with Visual Studio and the build host, as long as you're running your app on the iOS simulator. However, as soon as you want to test your app on a real device you need the certificates. And just a reminder, you should test on real devices as soon as possible. I got some really bad surprises after developing exclusively on the simulator for more than 6 weeks ...

No "Store" menu available in Visual Studio Express 2012 for Windows Phone

I have downloaded the Windows Phone SDK 8.0 from MS site. I have installed it in two ways :
WPexpress_full installed via web.
wpsdkv80_enu1.iso (1.6 Gb) download and install.
In both the cases, I could not find the store menu. I have developed an app and it has to be submitted to the Windows Phone Store. I could not find any solutions over these forums. I need some guidance.
Note: I also tried to find this menu by looking in Tools - > customize options. That did not work for me.
You cannot submit Windows Phone 8 apps using just Visual Studio. You have to login here and submit the XAP with your app using the New App dialog:
Windows Phone Dev Center
You can actually begin the app submission process with the store from Visual Studio 2012 via the menu with: Project >>> Store >>> Reserve App Name...
However, this is just a link to the actual website: https://appdev.microsoft.com/StorePortals/en-us/Developer/Catalog/ReleaseAnchor

VS 2012 / Powershell freezing while getting a Windows store developer license

I just installed Windows 8 and Visual Studio 2012. Now I want to create a Windows store app.
But every time I try to get the developer license everything freezes...
Example PowerShell:
Show-WindowsDeveloperLicenseRegistration
Dialog "Accept"
Login
Dialog "getting license" (I use the german version, so the message could be different)
The dialog closes, the PowerShell Console is still frozen
The same thing happens in Visual Studio (background process not responding). Any idea?
I searched a few hours but the only solution I found was to remove Visual Studio and reinstall it completely...

Resources