Post not yet marked as solved
I've created a new Xcode project and I added a new Custom Keyboard Extension Target by using Editor > Add Target > Custom Keyboard Extension.Then, I ran that default templated keyboard on my real device (not happened in simulator). And I opened Instruments > Allocations application to profile memory allocations of extension.When I was trying the keyboard on WhatsApp, I've noticed that number of Persistent ViewController objects were increased while hide/unhide the keyboard by tap on the outside of the keyboard and tap input area.Number of Persistent KeyboardViewController:2 -- hide -- > 1 -- show -- > 3 -- hide --> 2 -- show --> 4 (increasing)I was trying the keyboard on iOS Messages app too. And there was no duplication.1 -- hide --> 0 -- show --> 1 -- hide --> 0 ( its ok )Do u have any idea about this issue ? Why WhatsApp application duplicates the keyboard extension viewController.
Post not yet marked as solved
Our iOS app has been in the status 'Waiting for review' for almost 10 days. This is really frustrating and damaging to our business and users. Has any one else experiened something like this? In my time as a developer i have come across 5-6 days review time tops.
Post not yet marked as solved
I keep getting this Warning each time I test:Warning: unable to build chain to self-signed root for signer "Mac Developer: Dylan M (*******)"I have no Idea what it means and couldn't find any other case of it on the internet, could anyone help?
Post not yet marked as solved
Hello,My name is Dylan and I made some animated stickers in Motion following these instructions: https://developer.apple.com/support/stickers/motion/.At first I made medium sized stickers but I got a warning message that "The sticker sequence "SEQUENCE NAME" cannot be larger than 512000 bytes, but it's XXXXXX bytes."I changed to small size and one sticker sequence is fine (SA) while the other (SB) still generates the same error as above.In SA, the individual files are 266 KB each and in SB they are 230 KB each.Any ideas why one sequence works while the other does not?
Post not yet marked as solved
Hey guys,I have a bluetooth app that connects to a device. What I want to achieve is this: when a user switches apps or goes to the homescreen, I want to disconnect from the bluetooth device but when a user hits the lock screen, I want the bluetooth connection to be maintained. I am not super familiar with swift and ios dev so any advice would be great.Is there a way to determine whether a app is backgrounded due to the user going to the homescreen and when a user simply locks the phone?Thanks in advance.
Post not yet marked as solved
How do I get a background image to fill the screen in my launch screen on an iPhone X?I have aligned the image to the top and bottom layout guides, but this leaves large white gaps.
Post not yet marked as solved
Hey,I want to get nearby Wi-Fi network's SSID into the app using network extension framework.Right now I can get scan list by visiting the setting--->Wifi Screen but I want to get those Scan Result into the app without visiting the setting wifi screen.If anyone idea about it please let me know
Post not yet marked as solved
The top of the keyboard needs to be about 2 inches from the bottom of the *device* as it is held.Prior to the iPhone X, this is easy because all devices used the exact same bezel insets, so it's 216 pts from the bottom of the screen.How do we calculate this height on an iPhone X? Safe area insets alone not sufficient for calculating 2 inches from the bottom of the device. Here's how I'm doing it now:@implementation UIScreen(MyExtensions)
- (UIEdgeInsets)standardBezelInsets {
CGSize iPhoneXSize = CGSizeMake(375, 812);
if (CGSizeEqualToSize(self.bounds.size, iPhoneXSize)) {
return (UIEdgeInsets) { .top = 43, .bottom = 74 }; // 290 - 216
}
return UIEdgeInsetsZero;
}
@end
@implementation MyKeyboardView
- (CGFloat)preferredHeight {
return [[UIScreen mainScreen] standardBezelInsets].bottom + 216;
}
...
@endThere are a few problems with that.Is there a better way?
Post not yet marked as solved
I'm working on an iOS app using CloudKit. I followed Apple's advice in the link below to test in the simulator with a newly created Apple id. This Apple id is working fine for logins in my browser. However when trying to use it in my simulator it keeps telling me the username/password is incorrect, which is really not true.https://developer.apple.com/library/content/documentation/IDEs/Conceptual/iOS_Simulator_Guide/TestingontheiOSSimulator/TestingontheiOSSimulator.htmlI tried the same with my developer apple ID and there it works fine. Afaik the settings regarding 2FA are the same. Resetting the simulator didn't solve it also.Any ideas?
Post not yet marked as solved
Hello guys!I was developing an app in my account and then I deleted the app from Itunes connect. Now I'm trying to delete the app id from indentifiers scetion but I can't. I got this error:The App ID 'xxxxxxxxxx' appears to be in use by the App Store, so it can not be removed at this time.But I deleted the app 5 minutes after I submitted to the store.I need to use this ID in another account, what can I do?Thank you!
Post not yet marked as solved
Hi,my apps run on the iOSSimulator without problems and used to run on devices as well, but after updating to latest XCode-Version I am getting the above error message when trying to run an app on my iPhone 7. It says :"codesign wants to access key "access" in your bunch of keys . To allow this enter your password".... but my apple-Developer-ID-Password doesn't work. And until updating to latest XCode-Version I never had any problems with codesign when running an app on iPhone device.Any hints what's going wrong ?XCode Version 9.1 (9B55)iOS Version 11.1.2 (15B202)Latest High Sierra Version, macbook Pro 2015
Post not yet marked as solved
HI,May I ask if there is an audit log or anything like that?I wish to know if someone create/delete/modify a cert, id, keys or anything on developer.apple.com/.
Post not yet marked as solved
Hi,I'm using Xcode 9.2 and iOS 11.2 Simulator.I would like to see my application's logs (NSLog call) while the app is tested with XCTest UI tests.I can launch the test with:xcodebuild -project MyProject.xcodeproj -scheme MyScheme -destination "platform=iOS Simulator,name=iPhone 5s,OS=11.2" testThe output of this command is the ouput of the UI test, but I don't see the application NSLog logs.Test Case '-[TestsUIOrangeEtMoi.OEMHomeTest testTapOnFactureTile]' started.
t = 0.00s Start Test at 2017-12-07 11:26:05.743
t = 0.04s Set Up
t = 0.15s Open com.orange.fr.orangeetmoisettings.bdx2
t = 0.18s Launch com.orange.fr.orangeetmoisettings.bdx2
t = 4.30s Wait for com.orange.fr.orangeetmoisettings.bdx2 to idle
t = 6.49s Tap "Adresse mail ou numéro de mobile" TextField
t = 6.49s Wait for com.orange.fr.orangeetmoisettings.bdx2 to idleIn the Simulator, I can go to 'Debug > Open System Log...", and it will open a log file ~/Library/Logs/CoreSimulator/DA22333D-A6BF-41EC-8BA4-F21C0EE6E177/system.log where DA22333D-A6BF-41EC-8BA4-F21C0EE6E177 is a hash of the simulator id. If I tail -f this file, I don't see any application logs, just "core" logs.Any idea how to access the application logs in this case ?Regards, Jc
Post not yet marked as solved
Hello everyone,is it possible to get an email notification for every new review that comes in?I like this feature a lot in the Google Play Store, because it allows us to make sure that we actually read every review.This forum thread already helped us to set up email notifications for responses to our review-comments, but additionally to that we'd like to get a new email for each and every incoming review.https://forums.developer.apple.com/thread/75446?q=review%20notificationIf there's no such setting or predefined feature: Have you got suggestions, how to make sure that we can read every review, but optimally don't read anything twice (like it would be the case if we just read the reviews from newest to oldest until we recognize ones we already read a day earlier)?Kind regards
https://developer.apple.com/documentation/cryptotokenkit/authenticating_users_with_a_cryptographic_token states that a token extension needs to be registered by executing its hosting app as the _securityagent user. This unfortunately does not work for me: Launching my hosting app as described in the documentation does not register the token extension. Also I get the following output from the hosting app when executed as _securityagent:"*Forcing* IMK Distributed Objects (not XPC) in App = myHostingApp, euid=92"Launching my hosting app as the current, "normal" user causes the token extension to be registered just fine and except smart card logon every functionality you would expect from a token (pairing with user, unlocking system keychain etc) is available and functional.Did somebody else encounter this issue as well?
Post not yet marked as solved
Hi guys,I've been working on getting some accessories working nicely with the Home App. When dealing with Window Coverings I came across some observations that don't seem to make sense to me and I'd be very thankful if someone would either confirm those observations or tell me, where I am going wrong.Summary: The Home App does not seem to properly use/display the available characteristics for the "Window Covering" serviceThe accessory uses a "Window Covering" service with the default characteristics (Current Position, Target Position, Position State) as well as two optional ones (Target Horizontal Tilt Angle & Current Horizontal Tilt Angle) and has been setup in the HomeKit Accessory Simulator.After adding the accessory to the Home App on my iPad (iOS11.1.2) it properly shows up and I can interact with it while observing the changes in real time in the Simulator.Now for my observations:1. The Home App does NOT show the value of "Current Position" anywhere - the only thing that is displayed is "Target Position"2. The Home App does NOT show the value of "Position State" anywhere - it derives the current state from the delta of "Current Position" and "Target Position". If "Current Position" > "Target Position" it displays "Closing", if "Current Position" < "Opening" and if they are the same, it displays the current value as %.Is this how it is supposed to work? Am I missing something?I intend to connect a real accessory via Home Kit Protocol that can be controlled in two ways:a) by changing the moving direction (up, down, stop)b) setting a desired target positionWith the above observations this leads to the following questions:1. If I set a target position on the accessory, the accessory will a) broadcast the change to "Target Position" and b) broadcast a series of changes to "Current Position" until it has reached the desired target position. This is properly reflected in the Home App when viewing the control in its small form (Showing "Opening" or "Closed"). Is there any way to make this process visible in the Home App when the the control is opened in full screen as well? As far as I could see it will jump right to the "Target Position" in the slider and not show anything regarding the updates to "Current Position" - even when opening the "Details" dialog.2. If I change the accessory by using directional controls, the accessory will a) broadcast the change to "Position State" and b) broadcast a series of changes to "Current Position" until it is stopped again. It will NOT broadcast a change to "Target Position", since it is not known when just using directional interaction. This leads to a problem in the Home App. Since the App does NOT check the "Position State", but calculates the value by itself, it ends up with inverted directions when "Current Position" starts changing without changes to "Target Position".Example: Blind is fully closed ("Current Position" and "Target Position" both being 0). Now the accessory is changed by using directional controls to open. This leads i.e. to "Current Position" to change to 5. Now the Home App does it's math (now "Current Position" > "Target Position") and displays "Closing", which is wrong.Is there a way to get the Home App to properly display the direction by examining the "PositionState" characteristic?Please let me know, if you need any additional information - I'll be happy to provide it.Thanks in advance,Kind regards,Michael.
Post not yet marked as solved
Since XCode 9, I've been seeing build errors hang around after they're fixed. It's very annoying because they obscure actual build errors.For example, a cocoapod was not in the right place, so the import statement was flagged. I fixed the dependency, ran the app, it ran fine, but the build error persisted for several more runs until I ran in a different simulator.Cleaning the build folder (even with OPTION key)did not help.Is there some other way to clear build errors?
Post not yet marked as solved
I currently have my setup like this: Apple TV 4K -> HDMI -> Denon X2400H -> HDMI -> X930ESo far this behavior only happens with the ATV, but randomly it seems that the TV gets in a funk where the screen for the Apple TV flashes on and off. Almost like a classic HDMI handshake problem. So far the ONLY thing that will fix this is to pull the power on the TV (not even turning off/on will fix it). Once I pull the power on the TV and it reboots, everything is fine again. It may return a day later....2 days later....it's random. It never happens while watching the ATV. It's always either turning the entire chain on or swtiching over from another source (Roku or PS4 for example).I have tried multiple certified cables, none seem to make a difference. I've tried powering off the other devices, that doesn't fix it. I'm thinking this is an Apple TV problem, but the X930E is what is being affected. So far the ATV is the only device that causes this and I haven't found a way to re-produce on my own. But I thinking it's something between the ATV and the Sony that's causing the issue.
Post not yet marked as solved
As suggested earlier in https://forums.developer.apple.com/thread/76987 opening a new thread.We are experiencing a CFNetwork TCPIOConnection::_handleTLSEvent crash. Full crash report here: https://gist.github.com/jarosan/af09485be31123bb6ebb9395ba9382f8Thanks in advance!
Post not yet marked as solved
Hi there,we are getting frequent questions from our user base when they cannot find options in the print dialog of our app because the details in NSPrintPanel are not expanded by default.Is there a way to always expand the details section programmatically to make it easier for our non-technical user base to find the app specific print settings..?Browsing the NSPrintPanel documentation didn't reveal anything obvious..Cheers,Jay