I just updated to Xcode 6.1 and my keyboard extension app, which was working fine with 6.0.x, is now not selectable via the nextinputmode button. This works fine on the actual device but not on the simulator. I can add the keyboard in settings with no trouble. Anyone else have this problem.
Update: This has been fixed in iOS 8.2 beta 2, according to release notes.
From iOS 8.1 beta release notes:
Known Issue 3rd party keyboards may not appear in Safari, Maps or 3rd
party apps on the Simulator.
Workaround: Keyboards should be testable in Calendar, Spotlight,
Contacts, and Photos.
This is what you are seeing.
I guess they were so busy fixing other bugs in the developer tools, they just didn't have time to fix ridiculous new bugs they introduced in 8.1.
Open a bug report, and maybe it will be fixed in 8.2.
Related
Just created a Today Widget and all seems to be good (on ios 8.3) devices. It installs and runs fine from XCODE 6.3.1. But on iOS 8.2 or 8.1 devices, the Today Widget does not install / run even though XCODE says it is running.
If a breakpoint is put on ViewDidLoad it never gets hit. Will try and do some digging in the logs, but so far nothing...
Need to make sure that the deployment platform for the Today Widget is set to 8.0. It was created and set to 8.3 and XCODE did not have any error messages when trying to run on 8.1, 8.2, etc.
I wonder if I update my primary testing device to iOS8, will this have a negative effect on testing iOS apps compiled with iOS7 SDK on this device? For example bugs related specifically to iOS8, which would not appear on device running iOS7. What problems should I expect?
Ideally, you should have one device to test each operating system version you are targeting. Once you upgrade, you will not be able to catch any issues that relate to iOS7.
The next update of my iPhone app will be targeted for iOS7 only. A couple of questions?
Does this mean I can delete all the non-retina images from my app?
If I have only retina images left do I still need to mark them #2x?
Does Apple keep older iOS versions of my app on the store so those running older versions of iOS who have bought or want to buy can still access it?
Any help would be most appreciated.
Yes you still need to have the #2x at the end. Yes you can drop all the non-retina images but could affect performance as even the newer devices will use some none-retina images but the main performance hit was to iPhone 3GS and below but as iOS 7 will not run on iPhone 3GS or below it isn't a requirement you'll just have to handle the performance issues. No Apple do not keep hold of older versions of your app on the app store, if you drop support for it then it is gone.
To answer the second part of your question YES, Apple does indeed store older versions for download.
For my app Parkable I created one for iOS5/6 then when 7 came about I specifically targeted it and dropped support for older iOS builds, now if you're not on 7+ you can still download the old version (instead of the old error telling the user to update their OS). This happens automatically as I recall, simply change your deployment target in both your project and target under the info tab.
Feel free to test if you have a pre-7 device (iPhone or iPad) and 7+ device https://itunes.apple.com/us/app/parkable/id577954935?mt=8&uo=4
My kids want to learn to write apps on their MacBook which currently runs OS version 10.5.8.
I have downloaded Xcode 3.1.4 but it doesn't seem to have the iPhone Simulator.
Does anyone know where I can find this?
(And are their better tags I should use for this question?)
Thanks.
(UPDATE: I down loaded the " xcode 3.2.6 & ios sdk 4.3" dmg file from Apple in the hopes of accessing just the "iPhone simulator" but repeated attempts to open the .dmg file on my OS10.5.8 Macbook result in a complete, "blackscreen" crash.)
I am really very sorry because this is not straight to your question. But if I were you, I'd like to encourage them to start with Android. To me, an open-platform is more preferred. Beside that, Java is a strong/ dynamic language when comparing to C/C++.
Android developer site
Eclipse IDE
Android SDK
ADT plugin for Eclipse
API guides
Training videos
Hope they will like :-)
Are you sure the simulator was not included? One thing to remember is it won't be shown with xcode in your applications folder.
To use the simulator you have to launch it from xcode by pressing the play button in the top left corner of the interface. If you have already used xcode with an iPhone/iPod/iPad make sure you select simulator from the drop down next the play and stop buttons(press and hold to change what is selected).
If you want to make sure you can access the simulator without xcode, launch the simulator as described above and then right click(or ctrl click) the icon for the simulator and select keep in dock from the options menu.
Hopefully the above helps you with your problem. If xcode truly did not come with the simulator your best option is to uninstall xcode(after backing up any projects) and trying a fresh install. Also try checking Apples dev center (https://developer.apple.com/devcenter/ios/index.action) for information about xcode and the simulator.
I have submitted one iPhone app 6 times, and in the requirement of the last/ current version, iPhone 3G is not supported anymore.
My question: Why do I lose this model?
I have some remarks:
Now, apps don't support the iPhone 3G anymore.
I made some searches, and I didn't find any news about it.
Before I submitted this version, I updated my XCode from version 4.0.2 (iOS SDK 4.3) to version 4.2 (iOS SDK 5).
Maybe during the submission, "Apple" checked the binary in order to check the version of my tools (which I built my app with).
And as the iOS 5 cannot be installed on iPhone 3G, I have lost this support.
I own an iPhone 3G in order to make compatibility tests.
And with XCode 4.2, I had trouble to debug my App with my iPhone 3G.
But, i found the solution: Add the architecture armv6 is not enough I need to put some weak links.
If I submit my app with these options "special 3G", will these options be take into account and the support will be back?
(see the edit)
"What's new" is I changed my Apple Account: I submitted my app with another account.
Maybe there are some options somewhere that I didn't see.
Edit: I forget a part maybe important: the version of iOS.
The minimum version of iOS for running my app is iOS 3.1.
And my iPhone 3G runs on iOS 3.X
And all troubles I had with XCode 4.2 and my iPhone 3G seem to be the version of iOS (3.X).
Maybe my app lost the support of iPhone 3G to be sure there is no problem with iOS SDK 5 and iOS 3.X
But, there are users with an iPhone 3GS running on iOS 3.X.
I made some tests with one iPhone 3GS running on iOS 4.0: I had no issues and no options to add in my project settings.
Thanks for your answer. The problem may be the version of my XCode.
Like I said, I have already added the architecture armv6. But with my iPhone 3G iOS 3.X, this is not enough.
Did you test only this setting with one iPhone 3G with success?
I should do:
Add the architecture arm6
Set the Base SDK with "Latest iOS" (iOS 5.0)
Set the iOS Deployment Target with the minimum value
--- It's what you advice ----
Remove into the info.plist the parameter "Required device capabilities" (armv6 and armv7)
Add SystemConfiguration.framework as Optional (to make a weak link)
With this settings, my app crashes: "dyld: Symbol not found: __NSConcreteGlobalBlock"
So I should also add in the flag "Other Linker Flags", - weak_library /usr/lib/libSystem.B.dylib
This is one of my questions:
If I submit my app with these options "special 3G", will these options be take into account and the support will be back?
By default, Xcode 4.2 does not include support for the iPhone 3G, but you can add it back. Just select your app target and select "Build Settings". At the top, change the Architectures listed from "Standard (armv7)" to "Other". In the pop-up box, select the existing option and click the minus button, then click the plus button and add "armv7", then again click plus and add "armv6". armv7 will support the newer chips, while armv6 will add back in support for the iPhone 3G... providing you set your iOS Deployment Target to iOS 4.2 or earlier... your setting at 3.x should be just fine—that merely limits you to not using newer features of iOS obviously.
You may also need to add "-mno-thumb" under "Other C Flags" in the Build Settings, though if my memory serves me correctly that may only have been if you are wanting to use Automatic Reference Counting on the old architecture—and even then only because this is a work-around for a known bug.