Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work on Mac iOS Simulator, VS2019 #48

Open
rezamohamed opened this issue Jun 23, 2019 · 3 comments
Open

Does not work on Mac iOS Simulator, VS2019 #48

rezamohamed opened this issue Jun 23, 2019 · 3 comments

Comments

@rezamohamed
Copy link

Running on VS2019 16.1.3 and building on Mac machine with Mojave 10.14.5

Downloaded the sample app, and unloaded all projects except the iOS project. Built the project with the iOS project as startup, iOS Simulator for iPhone 8 iOS 12.2, keep getting the error message 'Could not find any available provisioning profiles for iOS.'

In the project properties, iOS Bundle Signing, Custom Entitlements - Entitlements.plist is chosen

In the Entitlements.plist, enable keychain is checked with the keychain group com.sameer.SecureStorageSample.

image

Please advise.

@rezamohamed rezamohamed changed the title Does not work with on iOS Simulator Does not work on Mac iOS Simulator, VS2019 Jun 23, 2019
@sameerkapps
Copy link
Owner

Thanks for trying out. From the message, it sounds like there is no provisioning profile installed. You would need to install that. If you have a "paid" apple developer acct, here is how you can do it:
https://docs.microsoft.com/en-us/xamarin/ios/get-started/installation/device-provisioning/manual-provisioning?tabs=windows

If you do not have a paid account, there is a hack:
https://docs.microsoft.com/en-us/xamarin/ios/get-started/installation/device-provisioning/free-provisioning?tabs=windows

In either case, when you create the profile, you want to use app name same as the sample app. Hope this helps.

@rezamohamed
Copy link
Author

So just to clarify, when using Secure Storage, we cannot test on the iOS simulator? Testing can only be done on the physical iPhone attached?

@AndrejSlo
Copy link

It works for me with simulator, but I've had to set manual provisioning and manually enter the Entitlements.plist.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants