Xcode 8 beta 2 : Sticker app does not shows message app extension - swift

I'm building Sticker messaging application. When I try to run the app on iPhone SE simulator with iOS 10 it throws a window to select application through which Sticker app extension should run.
However, in this list there is Siri, Today and Watch app only. There is no Message app. This was working when tested on last week.
Due to this Sticker messaging app extension cannot be tested on iMessage app on simulator.
Why this is happening?

This is probably just a bug in the beta. I've found that this happens with the iPhone SE simulator but the iPhone 6S simulator works fine.
To solve this, if you run the app with one of the other options, the option to launch the Messages app should be available the next time you run the application. So run the app in the simulator, select Siri, and open the Messages app manually. Next time you run the application the option for Messages should be available.
Also you aren't running the latest Xcode beta. The latest version is Xcode 8 beta 4.

Related

Camera access for iMessage extension on real device

Guys from Apple who talked in 2 sessions dedicated to iMessage app and Stickers showed few demos all using iOS Simulator, but as we know it doesn't emulate camera features. When trying to install iMessage extension on real device it just opens iMessage app with latest received message without being able to tap on "Message App Store" button. I'm interested in testing my extension on real device because it's using device camera, but couldn't make it work.
Thanks.
It was a bug. After updating device to iOS 10 beta 4 and Xcode to version 8 beta 4, the extension is installed and running on device.

smartface app xcode simulator blank screen

I publish app on smartface for ios with the given license.
I followed the steps ios publishing guides with bundle id given by smartface.
Before submitting the appstore i want to simulate or check on the ios device but it only show black screen while lunching app.
Is it normal? Or should be run on xcode simulator or test device.
You should always test on device. The iOS Simulator is a great tool for rapid prototyping, bringup, and rapid iteration, but always test on device as well. It sounds like you have a real bug in your app.

In-App-Purchase not working in iOS 5

i have successfully integrated in app purchase in my app.i have follow this tutorial for in app purchase.it working fine with iOS 6. but when i try to test it on ios 5.1 simulator than every time i try to login to buying the product i just get the bellow error.
Transaction error: An unknown error has occurred
and yes my mac keyboard is also not working when i am testing it on ios 5.1 simulator i have to input from simulator keypad.
You cannot reliably test In App Purchase in the iOS5 Simulator. You need to test it on a device.
And the keyboard not working for In App Purchase login used to be bloody annoying.

iPhone 5 support with base SDK iOS5.1

Is is possible to submit the app with base SDK iOS5.1 and with Default-568h#2x.png, so that application will not leave an extra black space?
Our normal application is working fine on iPhone5 leaving a black space from top and bottom, but if we just include "Default-568h#2x.png", will it work fine (the view displayed in complete area of iPhone5)?
There are lots of dependencies to support iOS6, so is it possible to submit the app with "Default-568h#2x.png" and base SDK iOS5.1?
It is impossible to submit the iPhone 5 full screen app which is built with Xcode 4.4.1 and iOS 5.1 SDK. I did the same thing to support both old devices of armv6/iOS 3.x and iPhone 5. But I got this reject message from itunesconnect. I think it is the new policy of App Store.
"Invalid Launch Image - You app contains a launch image with a size modifier that is only supported for apps built with the iOS 6.0 SDK or later."
just edit the size of Default-568h#2x.png with the same one of Default#x2.png splash screens, don't rename it, adjust only it size, it's how it worked for me, seems the binary does gets faked, my app it's waiting for the review don't know yet if will be approved.
I do not see any policy from Apple to forbid developers to submit apps based on SDK 5.1. My understanding is that if you develop on SDK 5.1 you should also test your app on iOS 6.
Having said that, iOS 6 SDK provides good features to help developers manage the layout, and Apple surely wants the developers to use the latest.
To avoid "Invalid Launch Image" problem on submitting app with iPhone 5 launch image using XCode 4.4.1, please following these steps:
Archive your App under XCode 4.5
Open Organizer, show your App folder in Finder, enter your App’s Products/Applications folder, copy Info.plist and archived-expanded-entitlements.xcent to your home folder.
Open your Info.plist (~/Info.plist) using XCode, and modify MinimumOSVersion from 4.3 to 4.0
Close XCode 4.5 and open XCode 4.4.1, open your App project and open your Target’s “Build Phrases” tab, add a Run Script, with shell “/bin/sh” and “cp -f ~/Info.plist ~/archived-expanded-entitlements.xcent “${TARGET_BUILD_DIR}/${EXECUTABLE_NAME}.app”
Re-archive your App, and it should pass App Store’s rule checker and in “Waiting for review” soon.
The app I submitted late October got online in early November. Someone said he used XCode 4.3.2 to submit app in the same way. It should be working for XCode 4.*
For more information, please also read this blog article.
I submitted by mid-feb my binary compiled on Xcode3.2.6 and only had the Default.png, my App got rejected due to a bug related to the 4" screens, some stupid sizing junk, fixed it and tested on Xcode4.6/SDK6.1 which requires that 568h#2x.png file, I added that image to my set , still compiled it on 3.2.6 and submitted my fix and it got automatically rejected with the same msg as here.
Then I just pulled that 568 file out and resubmitted hoping that since it went thru about 2 weeks ago it'd get past again, I triple checked my code on sdk6.1, recompiled/ressubmitted and got the same rejection so it seems like they are enforcing that min Xcode version NOW.
BUT .... guess what? I cleaned everything and twice and rebuilt & decided to give it a last shot, resubmitted and it passed!!! I'm on waiting 4 review now.
I've solved that issue the following way: I'm using iOS SDK 5.1 and Xcode 4.4.1.
Now I've added simply the Default-568h#2x.png to the upper folder of my App in Xcode but not with Xcode 4.5.1.
Then I've built the App through iPhone 5.1 Simulator and finally I've quit the Simulator.
Then go to ../users/myNameUser/Library/Application Support/iPhone Simulator/5.1/Applications/... search for your App and Copy the complete folder (e.g. F83221EA-1HB4-4947-9DH4-43D8QZ3FFEA3).
Then go to ../users/myNameUser/Library/Application Support/iPhone Simulator/6.0/Applications/ and paste in the copied folder from the 5.1 Simulator.
Finally open your Applications folder go to your Xcode App (4.5.1) then right click and show package content: Go to ../contents/applications/ and double click "iPhone Simulator.app".
Now you are running the new iPhone Simulator with your iOS SDK 5.1 App. Great job? Now you can change the hardware of the simulator to the new iPhone Retina-4-inch.
And you can see how your App will look like on the new iPhone 5.
I've sent my new App version by that way for review - well see if it'll get through.
(Sent with: Xcode 4.4.1 and iPhone 5 support like described on top)
By the way it could be interesting to run Apps from Xcode 4.4 on real iOS 6 Device?
How to do that: Use iOS 6 device for testing with Xcode 4.4 and iOS 5 SDK

Xcode 4.2.1: universal app runs on iPad but not on iPhone

I am working on a universal application where I am stuck at one point. I was able to successfully launch my application both on iPhone and iPad but since 2-3 days, I am not able to launch my application on neither iPhone nor iPhone simulator but it runs smoothly on iPad/iPad simulator.
Also when I run my app choosing iPhone device it shows message like Running the App on iPhone simulator but I am not able to see any effect on my simulator. I am using Xcode 4.2.1 and I guess the issue is pertains to the same.
I don't know whether it is a solution or not but got a way out by reinstalling the iOS Simulator.
I have faced same problem. This probably happens when you replace the application with the newScheme/EditScheme by mistake.
Just carefully check when you run your application is there your application name appear. This will be immediate left at where you choose iPhone simulator or iPad simulator version.