I have implemented an iOS app based on Xamarin.iOS.
Now I like to upgrade the app for iOS16.
There is a dev blog from Microsoft which says that Xamarin supports already iOS16:
https://devblogs.microsoft.com/xamarin/xamarin-ios-16-android-13-updates/
Visual Studio and Xcode have been updated to the latest versions.
After all the updates I am able to debug the app on an iOS16 simulator.
But the installation of the .ipa file on an iPhone 8 with iOS16 fails with an error "unable to install the app - try it later".
I recognized that there was no update of the nuget package "Xamarin.Forms" which I had to update on earlier iOS upgrades (e.g. to iOS15).
Currently I am not yet able to migrate to .NET6 and .NET Maui.
Does anyone know how to upgrade an old Xamarin.iOS app to iOS16?
Update: The app runs on iOS16 but the installation by itms-services does not work. I cannot find any changes in Apples changelog.
Related
I'm attempting to upgrade the Realm database version I'm using in my Xamarin Forms project, from v5 up to the latest v10.
The original Realm database has been working fine for years, however when I try to use Realm v10 I can build the Android project successfully, but when I attempt to build the iOS project I get the error:
"No matching framework found inside 'C:\Users\MyName.nuget\packages\realm\10.11.1\build..\native\ios\universal\realm-wrappers.xcframework'"
...and I'm at a loss. A Google search is very scant on the subject, so I don't have any direction to get this build working.
I'm using Windows 10, Visual Studio 2022, linked to a macOS Monterey build server with Xcode 13.3.1
EDIT: As advised, I have opened an issue on GitHub for this:
https://github.com/realm/realm-dotnet/issues/2914
So I received this react native project, as a devops I have to get the app out of it and deploy to play store as well as Apple AppStore. I have successfully gotten the android apk but I have been having issues getting the release bundle for iOS. It says the project was built with a higher version of Xcode (probably Xcode 12), but I am using Xcode 11. Please is there anyway around this since I can not install Xcode 12 on my Mac due to it being outdated.
I get the error after updating Xamarin in Visual Studio which I had to do after a git pull. I have also applied the Xamarin updates in Xamarin Studio on my Mac build host. (Xamarin Studio > Check for updates).
The iOS SDK version '9.2' is not installed, and no newer version was found.
You can also modify the SDK version of your iOS project from visual studio in order to support older SDKs where you cant update the XCode or SDKs.
Open iOS project properties from Visual Studio.
Open iOS.Build tab
Set SDK version to 'Default'
Set Link Behaviour to 'Link Framework SDKs Only'
Save and Run the project
XCode needed updating to get the latest SDK.
The App Store told me there were updates, and mentioned SDK 9.2 in the summary so I updated.
It appears the cause was a commit on the csproj that bumped the SDK.
You can manually edit .csproj file and replace <MtouchSdkVersion>9.2</MtouchSdkVersion> with the version you actually have on your mac. This can be a solution when you use an old OS which does not offer updates for XCode.
I am having an issue with debugging my iOS application. When I try and run it on iOS9 it comes back with the following log:
Connected to: iPhone 5 warning MT1003: Could not kill the
application 'com.<....>'. You may have to kill the
application manually.
warning MT1108: Could not find developer tools
for this 9.0 (13A344) device. Please ensure you are using a compatible
Xcode version and then connect this device to Xcode to install the
development support files.
error MT1007: Failed to launch the
application 'com.<....>' on the device
'iPhone 5': Look for earlier warnings returned: 0x454. You can still
launch the application manually by tapping on it.
I believe this is related to few other things online:
https://forums.xamarin.com/discussion/15886/getting-compile-time-error-mt1007
Warning MT1108 after ios update
Xcode 7 with iOS 9 device Error: device unavailable (Could not find a developer disk image) ?
My guess to solving this would have been to simply download Xcode 7 ( I am running Xcode 6.4 at the moment). However I am slightly hesitant because Xamarin's website suggests differently?
To ensure your existing Xamarin.iOS apps run smoothly on iOS 9,
download the latest Xamarin.iOS release (8.10.3.2) from our Stable
channel (or if you have the previously released 8.10.1.74 that will
also work) (release info) then re-build and re-deploy your apps using
Xcode 6 on OS X Yosemite.
This will allow your existing apps to run in iOS 9 previews, and be
ready for the public release of iOS 9.
Obviously, my app does install and normally on the iOS9 device. However I can't debug which makes development not ideal...
I have the latest Xamarin updates and I am running on OSX 10.10.4
All help would be greatly appreciated.
If you want to just simply rebuild your app so it runs on iOS 9 (but build against iOS 8 SDK) then you can ignore the warning and tap the app to launch it and connect the debugger and continue from there (as it mentions).
If you're looking to use the new iOS 9 APIs in your application, then you'll need to get Xcode 7 installed.
I removed Xcode 4.2 from my system and installed 4.3 from the App Store.
Now when I want to build my app in MonoDevelop it says
The Apple iPhone SDK is not installed.
Using Xcode I can build and run iOS apps just fine.
I tried reinstalling MonoTouch, but it will fail saying XCode is missing.
Any idea how to get this working again?
Xcode 4.3 moved to a different directory, and MonoTouch can't find it anymore.
Yesterday we released a beta update that fixes this - just enable the beta channel in MonoDevelop (Preferences -> Updates) and then update to MonoDevelop (2.8.6.5) and MonoTouch (5.2.5).
Once we've been able to test the changes a bit more, we'll release these packages to the stable channel.