Hello,I got a very strange problem: UIUserNotifcationActions for my app do not show up on devices but show/work on Simulator.Setup: UIMutableUserNotificationAction* replyToChat = [UIMutableUserNotificationAction new]; replyToChat.activationMode = UIUserNotificationActivationModeForeground; replyToChat.title = @Reply; replyToChat.identifier = @replyToChat; replyToChat.destructive = NO; replyToChat.authenticationRequired = YES; UIMutableUserNotificationAction* ignoreChat = [UIMutableUserNotificationAction new]; replyToChat.activationMode = UIUserNotificationActivationModeBackground; ignoreChat.title = @Ignore; ignoreChat.identifier = @ignoreChat; ignoreChat.destructive = YES; ignoreChat.authenticationRequired = NO; UIMutableUserNotificationCategory* catChat = [[UIMutableUserNotificationCategory alloc] init]; catChat.identifier = @myChat; [catChat setActions:@[replyToChat, ignoreChat] forContext:UIUserNotificationActionContextDefault]; NSMutableSet *categories = [NSMutableSet setWithObject:catC
Search results for
show when run
112,802 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
After upgrading to macOS 10.13 Beta (17A315i) my registered devices (iPhone 7 Plus, and iPod Touch) do not show in iTues when they are connected.
I have downloaded PIVToken example from here https://developer.apple.com/library/content/samplecode/PIVToken/Introduction/Intro.html and trying to run it. I have put several breakpoints in the source code, but when I run it from XCode, none of them gets hit. It doesn't look like smartcard extension is properly registered or maybe there's some other problem.I have YubiKey NEO PIV smart card.I disabled built-in PIV token as mentioned in the README.md and restarted my machine.sudo defaults write /Library/Preferences/com.apple.security.smartcard DisabledTokens -array com.apple.CryptoTokenKit.pivtokenBut when I insert YubiKey NEO, I still get SmartCard Pairing popup:Do you want to connect the inserted SmartCard with the current user?Card Identity: Certificate for digital signature (Test)| Do not show again | | Cancel | | Pair |The README also mentions that the new extension will be automatically installed when the hosting application is installed. Does it mean I need to install the appli
Xcode has started to show numerous errors within my project. Everytime I build my app the number of errors changes. It's always between 50 and 70 errors that cause the build to fail. The errors are always 1 of these 2. Cannot convert return expression of type '()' to return type 'UICollectionReusableView' or Cannot convert return expression of type '()' to return type 'UICollectionViewCell?' Whenever I click an error it opens up that file, shows no error in code and then the error in the issue navigation for that file disappears. In addition, the errors are always related to collection views, yet Xcode is showing errors for simple extension files or enum files, which have nothing to do with collections. I have cleaned the project build folder, removed the derived data, restarted Xcode, restarted the laptop, even reinstalled Xcode yet I still get the errors
How do I get the microseconds of an object of type Date? I'm open to any suggestions. I'm not able to set the dateFormat property of DateFormatter to be able to show microseconds.
Hi @eskimo, I followed above link line by line to debug system extension. I added script as suggested in above article it copy my app to application folder when debug and compile successfully. then I run my app through terminal by selecting app through application folder. it doesn't call DNSProxyProvider Constructor. But before that what I noticed Im able to add system extension with enabled state but that enabled state or mode is not showing in green colour I guess in running state it shows in orange colour.
Topic:
Programming Languages
SubTopic:
Swift
Tags:
Do you get correct result on device ?What are the yellow color values (red, blue, green) as defined in XCode ?When you run the simulator, use Digital Color meter to see the color you have.Explain also what you mean :But it doesn't show up this way when i start the simulator.What does it show exactly ?And please report.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Tried to run the following code in Playgrounds as shown in this session: - https://developer.apple.com/videos/play/wwdc2020/10643/ import SwiftUI import PlaygroundSupport struct ProgressView: View { var body: some View { Text(Hello World) } } PlaygroundPage.current.setLiveView(ProgressView()) Instead of Showing a Preview the following error message is displayed: There was a problem running this playground. Check the code and try again
One of my team members created an app on App store connect. but it not showing to me. I have searched more but have not found any solution. Please anyone let me the solution.
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
App Review
App Store
App Store Connect
Developer Tools
How can it be closed but running? The only way I know to do that is in closed clamshell mode, but then notifications would obviously be displayed. And what is the point of displaying notifications if there is not screen to show them on?
Topic:
UI Frameworks
SubTopic:
AppKit
Tags:
@all: does the bug show with Xcode 12.2 (in simulator or on device running 14.3) ? From @VictorPuga OP, I understand the answer is yes. Did you file bug reports ?
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags:
Im also having problems with this new version of xcode, i couldn't get it to run a simple printf, it doesn't show anything after runnig it.how do i do downgrade to 8.2.1?
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Ok I have run the Energy Log from instruments and it shows CPU usage 20-41% and GPU usage 7-10%.Thanks for help 🙂
Topic:
Graphics & Games
SubTopic:
SceneKit
Tags:
Also I've got 20% of constant CPU usage while running Xcode because of diagnosticd process, console shows a lot of errors from Posterboard. Reverting to B3.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Hello KMT,Taxi app that are reject 3 time due to2.10 - iPhone Apps must also run on iPad without modification, at iPhone resolution, and at 2X iPhone 3GS resolutionApp is only iPhone not Universal.i check in iPad Simulator that run fine. but not show 2x button right side.How to get 2x button in iPad simulator.??show Imagehttp://gagengirls.com/wp-content/uploads/2013/07/2013-07-06-19.05.12.png
Topic:
App Store Distribution & Marketing
SubTopic:
App Review
Tags: