This iMessage application is missing its required iMessage app extension - ios-app-extension

I have already thoroughly reviewed the other answers for this question which has been asked several times. As the others, it works on simulator but not on my iPhone or iPad.
I have confirmed that yes (and it was working fine before I upgraded to xcode 8.2.1),
deployment target is less than your device iOS version. If you are
running Xcode Beta with deployment target 10.1, your device must be at
least on same beta version. Reduce your deployment target to 10.0
otherwise.
I am running 10.1.1 and the deployment target is at 10.0
Any ideas on what else the issue could be?

Change the Deoloyment Target for both of your project and StickerPackExtension to 10.0, the problem might be solved.

Related

Mac Visual Studio 8.2.6.26 update not showing any iOS simulators, only Generic Simulator

Yesterday I updated my Visual Studio and Xcode. Immediately afterward I lost any listing of available iOS simulators for my Xamarin project in Visual Studio. I can plug my iPhone in however and deploy my project onto it just fine, but I'm used to working with Preview in VS and also running a simulator for quicker response.
I'm currently running the following versions:
• Updated to Xcode 11 (11A420a)
• Visual Studio Mac 8.2.6.26
• Mac OS 10.14.6
• iOS 13.0 on iPhone 7+
Now Visual Studio shows the only available simulator as being the Generic Simulator with a hammer, which doesn't launch anything that I can tell. When I look at the list to choose a simulator I see the message line: "Lower the 'Deployment Target' to see older simulators or check your Apple SDK path"
When I launch a test project directly from within Xcode, it offers iPhone 8, 8+, 11, 11 Pro and others as available simulators and those indeed work. In Visual Studio I have changed each Deployment Target from 6.0 to 12.2 and not one of those makes available any simulators.
I'm not sure what the Apple SDK path is about, how to check it and where it needs to be pointing.
Does anyone have any thoughts about what adjustments need to be made to regain my iOS simulators in Visual Studio Mac again after these updates?
Thanks so much :)
After trying a bunch of suggestions, this simple fix worked for me. First I changed my deployment target in the info.plist from 9.3 to 11. After checking that my Apple SDK path in VS was pointing at Xcode11 and the iOS SDK version on my Mac was 13.0, I simply force quit Visual Studio and Restarted my computer. Then I began to see iPhone8 & iPhone11 simulators. Goodluck.
Updating both XCode and Visual Studio for Mac worked for me.
Just updating XCode did not work.
I also fidgeted with the Deployment Target which I believe refreshed the simulators list.
UPDATE: I confirm again that when I go to info.plist and just click on the deployment target drop down, the simulators list gets update. Little funny.
Ran into this issue many times for the last updates. Nothing really helped, until I came across a Microsoft forum where someone mentioned the Apple SDK path needs a trailing slash, which is not added when using the Browse button to navigate to the Apple SDK Location.
So when using Visual Studio for Mac, navigate to Visual Studio -> Preferences -> Projects -> SDK Locations -> Apple and please note your Apple SDK Location should be something like:
/Applications/Xcode.app/
rather than
/Applications/Xcode.app
Changing the "Minimum System Version" did the trick for me.
Eg. I had 14.4 and I changed it to 14.0 and restart VS the all the simulators appreared.
I resolved the issue as well by going under the Visual Studio --> Check for Updates menu and switching the channel to "Xcode 11 Previews". Finally some updates were available and I updated everything normally. I also updated everything in the "Stable" and "Preview" channels as well. Now I have iPhone 8 and iPhone 11 simulators working, however I no longer have any of the other simulators like iPhone 7, etc. like I did before.
After updating Xcode via the app store, restart your machine. The simulators should reappear.
UPDATE
This didn't work for me after the latest update. However, setting the startup project to Android, then switching back to iOS was enough to repopulate the list for me after restarting my machine.
info.plist has an option called Minimum supported version which says which version of the iOS you are targeting.
in my case it was 10.3 earlier, when i have upgraded xcode (12.4) and vs for mac(8.9.6) to support iOS14. this caused the conflict between the xcode supported iOS version and plist version.
I changed it to 14 in plist for the Minimum supported version and it worked for me.
In summary check the xcode supported version and update the minimum supported version accordingly
Same here, just need to change 'Minimum system version' on your info.plist file in my case was 12.0 and then updated to 12.1 and vualaaaaa the simulator list refresh it.
I had the same problem when the iOS 14 updates were first installed. I had already installed both XCode and VS updates.
What I did is: I restarted the Mac and I had to install the XCode Command-line tools from VS separately. Then the simulators were visible.
What always works for me is connecting an iPhone device. After I connect it, the simulators appear. I guess connecting a physical device also refreshes the simulators list.
This time, nothing was working for me, until I deleted /Library/Caches/Xamarin/XMA and /Library/Caches/Xamarin/mtbs and restarted VS. That helped.
Here's the actual solution if updating everything else still doesn't work. Open terminal, type in "instruments -s devices" to see a list of all the installed simulators.
In your info.plist set "Minimum System Version" to match the lowest simulator version you have installed.
After plugging in my physical phone with the usb cable, the list of simulator devices appeared in like 2 seconds... Before plugging in my phone, only the generic simulator and my phone were shown as deployment options
Just restart of my Mac worked...

Setting SDK to 12.1

I keep getting the warning:
This app was built with the iOS 11.4 SDK. Starting March 2019, all iOS
apps submitted to the App Store must be built with the iOS 12.1 SDK or
later, included in Xcode 10.1 or later.
...when I upload to the app store.
I run Xcode 10.1, and I also set the base SDK to 12.1 as in the screenshot, but I still get the warning after archiving and uploading. Is there anything else I need to do? Deployment target is 9.0.
Just make sure you are using latest version of Xcode for compiling and uploading your build. Also make sure that you app screens support the all-screen design of iPhone XS Max or the 12.9-inch iPad Pro (3rd generation). Also check if all the pods are also build on latest SDK
I had 2 versions of Xcode (9 and 10) on my machine and after uploading I was also getting this warning. May be lame but once I removed Xcode 9 from my machine this warning went away.
Note: This is just a workaround. I'm not sure it can solve your problem.
Your Base SDK setting is different from mine.
Since I have just uploaded my app to Appstore without any problem (Nov 13, 2018 at 10:23 PM),
I think it's worth a try to set it to iphoneos like in the image and try to archive and upload again.
Xcode version 10.1 (10B61)

Paired device unavailable for development - after OSX Sierra and watchOS 3.1

After upgrading my Macbook to OS X Sierra and my Apple Watch to watchOS 3.1, I've been getting the following error in the Xcode run project target item:
"Paired device unavailable for development"
It looks like people have encountered this in the past and this specific StackOverflow answer is linked when someone has this problem:
iOS: Watch Kit paired device unavailable for development
However, I've done every single solution that has been listed and I'm still getting this issue. Is there any reason in particular why upgrading to Sierra and watchOS 3.1 would have caused this issue?
Downloading the latest xcode beta (8.1 beta 3) appears to fix this issue
I have the same problem. After I deleted Xcode 9.1 beta then open project with Xcode 9.0. I found that my deployment target is auto set to iOS 11.1 which higher my iPhone OS. After change target to iOS 9.0 it worked.

Xcode 6 doesn't show iOS 7.1 simulators

I have the Xcode Version 6.0.1 (6A317) on Mac OS X 10.9.5 with all iOS 8 simulators. I have also downloaded the iOS 7.1 simulators.
I am developing an app for iOS 8 and iOS 7.
The problem I encounter is that Xcode 6 doesn't show the iOS 7.1 simulators in the devices menu. At some point it did show them but on my newly created Xcode 6 project it does not.
I was looking at some stackoverflow solutions.I have addded the iOS 7.1 simulators Window - Devices - SIMULATORS. They are also checked with "Show in the Run Destionations Menu",however they are not shown.
I found a workaround by setting the Project and Target Deployment Target to 7.1. However, this is a stupid solution since for every test I need to manually switch them forth and back 7.1-8.0
This is my first ipad app and it worked perfectly under Xcode 5.1.1. iOS 7 and iOS 8 (CREATED UNDER Xcode 5.1.1.). Now I have created a project in Xcode 6.0.1. and the project doesn't have the simulators showing correctly and 95% of the app doesn't work.
I am new to iOS development but I suppose that this is a bug, but I am unsure. Please help.
The deployment target is the minimum OS version you intend to support.
As you stated, you need to set the deployment target to 7.1 in order to see the 7.1 simulators. If your deployment target is 8.0, the 7.1 simulators will not be available in the run destinations menu. This is the correct behavior because you can't run on iOS 7.1 if your deployment target is 8.0.
I already had deployment target 7.0 and simulator still wasn't available for 7.1.
I fixed the issue though by going into Xcode preferences, selected Downloads and re-downled the missing 7.1 simulators under 'Components'. Although I previously had 7.1 simulator, the Xcode 6 upgrade had seemed to remove them.

Is it possible to install iOS 7 SDK on Xcode 6?

I have Xcode 6 installed but realise that I am only able to develop for iOS8. I am aware that this beta development kit is meant for the development of the iOS 8 beta release but I am in a position where I don't have the time yet to develop for it but wish to take advantage of some of Xcode's new features while I am developing for my current iOS 7 apps.
What can I do to get the iOS 7 SDK installed on xcode 6?
Seems like if you symlink the relevant SDK from a previous installation of Xcode to the Xcode 6 Beta directory, Xcode 6 will be able to use it. Assuming you still have Xcode 5.1.1 on your machine, try the following in terminal:
ln -s /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk /Applications/Xcode6-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk
This should link the iOS 7 SDK for iPhone (not sim), allowing you to select iOS 7 as the Base SDK in Xcode 6 Beta. If you want to do this for the simulator, replace iPhoneOS.platform with iPhoneSimulator.platform.
NOTE: Just because you have the iOS 7 SDK now doesn't mean it'll build. I'm personally having trouble with the fact that Xcode 6 Beta is using the Apple LLVM 6.0 compiler, which apparently isn't compatible with some of the stuff I'm trying to build.
ref: https://stackoverflow.com/a/11424966/2383003
Just posting so that someone might find it useful: I wanted to debug my app in iPhone running iOS 7.1, in XCode 6.0.1. The previous iOS version was not being listed in the settings page, to choose as base SDK/deployment target. (I'm using OS X 10.10 Yosemite). I installed both XCode 6.0.1 and Xcode 5.0.1 and copied
/Application/XCode501.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk
to
/Application/XCode601.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/
Now I'm able to run iOS 7 apps from XCode 6.0.1.
I changed the deployment target just fine and installed on my iOS7 iPhone 4s all the same. You can do all your development this way and then use 5.1.1 to make your relevant builds. I wouldn't advice to build apps for production in this beta environment even if you could.
Just repeating Christian's comment (on Ziewvater's answer) so it's more prominent:
What's strange is the fact that after adding the symbolic link to my Xcode folder, I see my device twice with the exact name and with some infos (iOS build number, model, device identifier) in the target selector in the upper left corner of Xcode. Depending on which of the both entries I chose, my app works fine or not, no matter which BASE SDK I chose. ??! Anybody experiencing the same?
This is exactly my experience also! Me and my team were tearing our hair out trying to understand why some builds seemed to be working and others were not.
It looks like Apple must be ignoring the base SDK (or target... or something) when you pick the wrong device from the list.
in Xcode 6.1.1 (Window -> Preferences - Downloads) you can install iOS 7.1 simulator. unfortunately it doesn't install iOS 7.1 SKD. if you set deployment target to 7.1 all builds without any trouble. be worry!!!! it is up to you to check the compatibility with 7.1 (SDK is still 8.1). so or so, all runtime trouble should be seen in simulator. i use this approach to build for my iPhone 4 in swift, where iOS 7.1.2 is the last available. (simply don't use any classes available only for newer devices :-))

Resources