Today I added to my project
using Microsoft.Azure.Mobile;
using Microsoft.Azure.Mobile.Analytics;
using Microsoft.Azure.Mobile.Crashes;
I should use Visual Studio Mobile Center but after that I receive an error for 52 times
/Users/enricorossini/Projects/myInventories/myInventories/myInventories.iOS/MTOUCH:
Error MT5209: Native linking error: warning: object file
(/Users/enry/Projects/myInventories/my/my.iOS/obj/iPhone/Debug/build-ipad6.3-10.1.1/mtouch-cache/MobileCenterAnalytics.a(MSPageLog.o))
was built for newer iOS version (8.0) than being linked (7.0) (MT5209)
(my.iOS)
What can I do to resolve it? Thank you in advance.
Our minimum SDK version is iOS 8.0 and above. In your Xamarin iOS project, open Info.plist file and set the "Deployment Target" to be at least 8.0 to fix the linking error.
Ok, I discovered the problem.
In the Application Output I found that
error MT1108: Could not find developer tools for this 10.2 (14C92)
device. Please ensure you are using a compatible Xcode version and
then connect this device to Xcode to install the development support
files.
I updated my iPad with the latest and I didn't update Xcode.
Related
Using latest Visual Studio for Windows 17.4.2, connecting to my Mac having Xcode 14.1, I get this message when Pairing to Mac:
The Xcode version installed on the Mac (14.1) is not compatible with
this version of Visual Studio. This may cause unexpected warnings or
errors when building and deploying iOS projects. Please install Xcode
'13.3'. To download a specific version of Xcode, visit:
https://developer.apple.com/downloads.
If I continue, no iOS simulators are available for debugging. And when trying to debug on my iPhone connected by wire the the Mac, I get a compiler error:
fatal error: 'CHIP/CHIP.h' file not found
I have search the web. Only old articles appear from September. I have tried XCode 14.0 still, same issues.
Last resort was downloading XCode 13.4.1 that seems ton works. I can start simulation... Finally!
Is it really true that XCode 14 is yet not supported by Visual Studio?
Please be noted that the final builds of Xcode 14.1 are ready for you to test on Xamarin, but they are not included in IDE (it is not supported yet in MAUI), you have to install the pkg files of Xamarin.iOS and Xamarin.Mac to your Mac,refer to Xcode 14.1 Support · Issue #16659 · xamarin/xamarin-macios.
Is it really true that XCode 14 is yet not supported by Visual Studio?
Xcode 14 is supported, and it is recommended that you use Xcode 14.0 for now. The Xcode version in AppStore is Xcode14.1 currently, you can download Xcode 14.0 from the downloads page in the Apple Developer Portal.
I try to create a new Xamarin.Forms project for Android and Windows Phone, but I'm getting stucked by two errors.
First of all, I have the following error:
DEP3321: To deploy this application, your deployment target should be running Windows Universal Runtime version 10.0.16299.0 or higher. You currently are running version 10.0.14393.0. Please update your OS, or change your deployment target to a device with the appropriate version.
I've found the solution for this error, on some forums people said that setting the TargetMinVersionPlatform to the current running version of Windows Universal Runtime and setting the TargetVersionPlatform to the expected one should resolve the error. Yes it's true, but now I'm receiving another error:
NU1201 Project App3 is not compatible with uap10.0.14393 (UAP,Version=v10.0.14393) / win10-x86. Project App3 supports: netstandard1.6 (.NETStandard,Version=v1.6)
and after I did some research I found that this problem is resolved by doing backwards all the workarounds that I've did for resolving the first problem.
So, in conclusion I'm being stucked between this two errors. Can anyone help me?
Thank you!
As the .NET Standard document, netstandard 2.0 can be used on UWP version 10.0.16299. It can not be used on UWP version 14393, so you can not change your app target min version to 14393. Currently, Windows phone version is 15254 and you can not run the .net standard 2.0 on windows phone. So the solution would be like # magicandre1981 said on his thread Xamarin.Forms UWP project wont install on windows 10 mobile
Besides, you can also try to create your Xamarin app target version 14393 on the VS 2015 directly.
I recently updated Xamarin. Ever since that time, I have been unable to build my iOS application due to this error:
Your application is using the 'HealthKitUI' framework, which isn't
included in the iOS SDK you're using to build your app (this framework
was introduced in iOS 9.3, while you're building with the iOS 9.2
SDK.) This configuration is only supported with the legacy registrar
(pass --registrar:legacy as an additional mtouch argument in your
project's iOS Build option to select). Alternatively select a newer
SDK in your app's iOS Build options.
Has anyone else seen this? I haven't changed anything in my code.
Looks like you need to upgrade to Xcode 7.3. Could you perform that update and let us know?
iOS 9.3 requires Xcode 7.3 support, these were added in Xamarin.iOS 9.6.0.0: https://releases.xamarin.com/stable-release-ios-9-3-xcode-7-3-support/
Also, check out the following for information on iOS SDK releases against Xcode releases.
I updated Xcode this morning (version 4.6.2) and right now, I cannot compile my projects.
Error: A valid Xcode installation could not be found. If your copy of
Xcode is installed to a non-standard prefix, please specify the
location in Xamarin Studio's Preferences under 'SDK Locations'
I checked that SDK Locations are good but still same problem.
Any ideas to solve this problem ? Xamarin Studio 4.0.3 (Build 13)
OK, it seems to be the Bug of Xcode 4.6.2: http://forums.xamarin.com/discussion/comment/10620/#Comment_10620
There is a known issue with Xcode 4.6.2, we would recommend that you
re-download Xcode 4.6.1 and continue using that until we get a fix out
for Xamarin Studio. You can re-download Xcode 4.6.1 from
https://developer.apple.com/downloads/index.action
The only one way is to go back to 4.6.1 :(
Xamarin Studio 4.0.4 released, fixes incompatibility with Xcode 4.6.2
I have the same problem. Is a bug and you need download 4.6.1 from https://developer.apple.com/downloads
You just need to be registered as Apple developer and will find previous version on Developer Tools
Do you have to have a paid developeraccount to get the 4.6.1 version of xcode from apple?
I only have the free account and I haven't found it on the apple hp.
Edit:
A Screenshot from my downloadssection on the apple hp:
When i run my project at iOS 5.1 simulator , it shows
yld: lazy symbol binding failed: Symbol not found: _objc_setProperty_nonatomic_copy
Referenced from: /Users/apple/Library/Application Support/iPhone Simulator/5.1/Applications/3A003E5F-2C66-494F-BCC1-C3EE82F01464/dogTree.app/dogTree
Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/Foundation.framework/Foundation
And I don't have 5.1 SDK. But why library search path is 5.1 not 6.0?
All my project and be run at iOS 6.0 device, but when I install then at iOS 5.0 or 5.1 device, it crash and show like the following message.
Please give me some help, is it necessary for iOS 5.1 SDK to run iPhone 5.1 simulator?
I had the same problem and found that I had simply forgotten to change the target platform in an included project. Xcode automatically switches target to the latest iOS when upgrading. Just changing the target for the included project fixed this.
I have met similar issue, and solved by set the deployment target to 4.3 (the same as my app's minimum version) for each static library depended on.
I found that the static library depended on was 6.0 as default, and that must cause some library missing when the compatibility was needed for lower version.
For libraries, such as pods, its in the build settings at iOS Deployment Target.