So I'm building an application with android studio and I am having problems connecting to Firebase. This means that Firebase assistant is not in Tools. Now, all my firebase plugins are enabled, I have logged into android studio with my Google account. And I saw a suggestion that enabling Google Repository in SDK-> Tools will work.
Now, 'Google repository' is missing in the Tools section. I tried updating SDK Tools/Platform tools (as advised by someone on this forum) I still couldn't find the Google Repo.
System info: Linux
Related
I get this error when I want to deploy Xamarin.Forms iOS app in my device:
Deploy Error: Could not install the application 'C:\Users\{myuser}\AppData\Local\Temp\Xamarin\HotRestart\Signing\{MyApp}.iOS.app\out\{MyApp}.iOS.ipa' on the device {My iPhone}. Details: ApplicationVerificationFailed({10 digits number}) - Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.OzsrZN/extracted/Payload/{MyApp}.iOS.app : 0xe8008015 (A valid provisioning profile for this executable was not found.)
2>Deploy failed. The app '{MyApp}.iOS.app' could not be deployed to the device '{My iPhone}'. Please check the logs for more details.
I'm using Visual Studio Professional 2019 Version 16.11.3 on Windows 10 Pro laptop. One month earlier I didn't have problems to deploy the app. My company (developer account) and my (individual account) certificates expired, so I created a new ones (development and distribution) and installed them in the macbook I use to pair with Visual Studio. Then I created provisioning profiles (development and distribution). I think that I installed the profiles using Xcode in the macbook.
In iOS project properties > iOS Bundle Signing > Bundle Signing > Scheme: Automatic Provisioning is selected. I have selected the only team I have (with my company name in it). In Custom Entitlements I have Entitlements.plist file.
As the error I get is about provisioning profiles I think that something is wrong with the provisioning profiles. How can I check if everything is correct in apple accounts o in the macbook?
Edit for additional information:
I have 5 provisioning profiles in Apple account > Certificates, Identifiers & Profiles > Profiles:
My Name my app development 2021-2022 (type: Development)
My Name wildcard development 2021-2022 (type: Development)
My Company my app distribution 2021-2022 (type: Ad hoc)
VS: com.mycompanyname.myapp Development (type: development)
VS: WildCard Development (type: Development)
I realized that I have 2 provisioning profiles that I didn't create and start with "VS:". And it seems that this is which is used by Visual Studio.
In Visual Studio , when I change Bundle Signing Scheme from Automatic to Manual, and again to Automatic and then select the team, Visual Studio downloads the profiles. Xamarin output window:
Resolving certificate...
Fetching valid and locally installed signing identities...
Syncing certificates for "MY COMPANY NAME" team...
Saving Apple Development certificates...
Syncing App IDs for "MY COMPANY NAME" team...
Your application is using entitlements not supported by wildcard App IDs...
* com.apple.developer.networking.wifi-info
Making sure that connected devices are registered in "MY COMPANY NAME" team...
Trying to find App IDs matching iOS platform and com.mycompanyname.myapp...
Syncing devices for "MY COMPANY NAME" team...
Processing ios devices...
Syncing provisioning profiles for "MY COMPANY NAME" team...
Saving iOS profiles...
Fetching additional data about profile's certificates and devices for VS: com.mycompanyname.myapp Development...
Downloading the list of devices and certificates for VS: com.mycompanyname.myapp Development...
Running update request for VS: com.mycompanyname.myapp Development...
Downloading provisioning profile: VS: com.mycompanyname.myapp Development...
Saving provisioning profile: VS: com.mycompanyname.myapp Development...
Is this profile a valid one?
The provisioning profiles are created using my individual account, should I create them using developer program account?
Automatic provisioning gives errors like this at times.
Delete the old certificates and the provision profiles.
Create new provisioning profiles using the new certificates.
Download them.
Make sure that you have selected the same provisioning profile.
Uninstall the app from the device.
Clean and try running it.
You could clean the prodfile in your mac, and delete the certificate in the Keychain(The blue file in the keychain), then re-created the profile.
if you use Xcode
Go to Xcode --> Preferences --> Account.
In the provisioning profiles section, right click and open with
finder.
Delete all provisioning profiles from the provisioning profile
folder.
Finally, go back to Xcode and click the refresh button.
You can also refer to this link(https://learn.microsoft.com/en-us/xamarin/ios/get-started/installation/device-provisioning/) to check if there is a problem with your configuration process.
Check your profile is valid
Try to generate an ipa file in release mode using development profile. Then
install the ipa in your device using Xcode (Window -> devices and
simulators -> drag ipa to device). & Ensure the ipa is working
Check your Entitlement plist and Enable/Disable push notification & try to
debug again.
If not working; please install latest version of visual studio which
support your xamarin ios version & Try debugging
If you have recently upgraded from Visual Studio 2019 to Visual Studio 2022 then you may have stumbled into the same issue as me
https://codingrob.medium.com/how-to-resolve-xamarin-ios-developer-provisioning-profile-hell-f29a998fa184
TLDR: The steps are to re-install Visual Studio 2019, then upgrade to Visual Studio 2022 (without enabling any iOS SDK checkboxes in the upgrade wizard), then launch Visual Studio 2022 and upgrade those iOS SDKs through ‘Visual Studio’ > ‘Check for updates…’ instead.
I have developed a cross platform app with xamarin forms , after I completed development i went on to testing . I successfully deployed to an andriod device and all is good on that platform, but im struggling to deploy the app to my physical iphone iv have searched EVERYWHERE and couldn’t find any help, this is my situation:
I have created free provisioning profiles and all the necessary certification according to the Microsoft guide on free provisioning
I successfully deployed a dummy app to my physical device throught xcode(so that means provisiong was successfull ????)
But my signing ID and provisioning profile is not listed in visual studio 2019
And yes
I did pair to my mac and connected my iphone to the mac AND targeted my iphone in the build scheme
Bundle ID’s also match and my iphone is visible in VS but i my profile is not listed so i cant deploy.
And yes my apple ID is also added under tools > xamarin > apple id
Ive also tried restarting the IDE and my machine Multiple times
PLEASE PLEAAASEE help me
Create new project with your XCode.
Make sure you set the correct Bundle ID.
Try to build your XCode project (for debug and release), if anything work re-start your VS and you will see your provisioning profile.
I am having trouble getting to firebase assistant in android studio 3.1.3. Whenever I launch firebase from studio it shows an IDE error. I have tried everything. Applied plugin into gradle file but even then I am having trouble getting to firebase inside the android studio. You know what I mean. Any helpful suggestions will be appreciated.
I am using visual studio mac and xamarin forms. I am trying to debug an app on my iphone but have challenges. I get the following error message: "No installed provisioning profiles match the installed iOS signing identities." When I open info.plist, I cannot activate "Automatically manage signing" because the Team drop-down box is empty. I have already entered my apple developer account via the preferences-->Publishing-->Apple Developer Accounts.
Please help me to find what I have missed.
Cheers,
Alex
See Set Up Device for Development and Launching your App:
"2. Open Xcode and browse to Xcode > Preferences.
3. Under Accounts, use the + button to add your existing Apple ID."
We just started creating cross platform mobile apps using "Visual Studio Tools for Apache Cordova".
I followed the procedures described in Install Tools to Build for iOS and To run your app on an iOS device. Everything works nicely, the app gets deployed on my USB attached iPhone and runs as expected.
I then tried to upload the app to iTunes, to provide the app via TestFlight to testers and to generally see how app-submitting works:
Build the iOS app as "Release" in VS: it builds and deploys to the iPhone nicely
On the Mac: Start Application Loader, click on "Deliver your App" and navigate to "...remote-builds/builds/"xxx-buildnmb"/cordovaApp/plattforms/iOS/build/device/APPNAME.ipa"
Several checks run OK ("verifying assets, etc.), but it then stops with the error
ERROR ITMS-90161: "Invalid Provisioning Profile. The provisioning profile included in the bundle xxx.yyyyyy.zzzz [Payload/xxx.yyyyyy.zzzz.app] is invalid. [Missing code-signing certificate.] For more information, visit the iOS Developer Portal."
I then discovered the Xcode Project in ".taco_home/remote-builds/taco-remote/builds/<build-number>/cordovaApp/platforms/ios/" and used Xcode to define the code signing identities in "Build Settings" and the Team information in "General", created the archive via Product-->Archive and submitted it in the Organizer - Archives. And voila it worked!
My questions:
Do I have to use Xcode to submit?
If not, what might I be missing in a) regard to building and signing apps with vs-mda-remote, and b) submitting it with Application Loader?
What are Microsoft's plans in regard to providing access the build settings from within Visual Studio (similar to the ones in Xcode)?
Thanks a lot for any pointers in the right direction.
Thomas
You need to use distribution provisioning profile to sign the package and apps are published to the App Store by using the iTunes Connect website along with the Xcode Archive Tool, which is included with the iOS SDK.