In System Settings -> General -> Date & Time, there is an option called "Set time and date automatically".
Is there a way to check whether it is enabled programmatically?
General
RSS for tagDive into the vast array of tools and services available to developers.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
如何在没有电脑的情况下启用开发者模式
please reply me in Chinese
So I can see from the documentation that XCTAssertEqual(x, y) becomes #expect(x == y), but what about XCTAssertEqual(x, y, accuracy: 0.2)?
Does something already exist or do we need to write a more involved statement to see if x is less than y plus z and more than y minus z?
When I try to run my project on the simulator, it tells me there is a bug. It is not in the code I wrote, but I believe in the compiler. It would work perfectly, say the build succeeded, but the phone turns white and stops there. I don't know how to debunk it, what to do!
Picture of what happens with the phone:
Picture of the debugging area:
Hello. I face such a problem as the fact that the screen does not work after turning on the developer mode. Read more: I'm trying to install an application that is not available in the App Store, and after installing it, I'm required to use developer mode. I turn it on, restart the phone, and the screen lits up in front of me that everything is ready to use the developer mode, and you just need to swipe up. I'm trying to do it, but the screen doesn't respond to my touch at all. I tried to restart the phone, but it didn't help. I reset it to factory settings - it didn't help either. I would like to hear advice from those people who have faced the same problem, or from those who know how to solve it.
Topic:
Developer Tools & Services
SubTopic:
General
After clicking the button I get an error message "An error occurred during generation. Reload this page to try again.", I tryed several times with same result. I saw in network tab the the request got 403 with error:
{ "errors" : [ { "id" : "a838db66-5e18-4dc8-8bb2-fc5903b41912", "status" : "403", "code" : "FORBIDDEN_ERROR.PLA_NOT_VALID", "title" : "Operation is forbidden because of PLA status.", "detail" : "" } ] }
Anyone can tell me what is PLA status?
Thank you
Hi,
Apple changed the renewal rate for auto renewable subscriptions in testflight to 24hrs and after 6 renewals it is supposed to expire. My subscription is now active for more than 13 days, it didnt expire as its supposed to. I heard that there is no chance to cancel it manually. Is there anyone else who had this problem and found a solution? I use RevenueCat to manage subscriptions. Maybe its because they have not adapted to apples update yet. Are there any other RevenueCat users that can confirm this experience? Or non RC users who don't have the issue I'm facing? Any responds are welcome.
i need help!
we bought keyboard after keyboard, and nothing seems to work.
my ipad pro, 7th gen, 13 inch, is not typing whatsoever with the magic keyboard unless i hold the keys.
it did this with a logitech keyboard as well.
Topic:
Developer Tools & Services
SubTopic:
General
Hello guys,
I have probleme with the lib react tinode on ios , someone can help m on it plz ?
Hi Guys,
i have problem I cannot op a p12 file on my Mac. When I try to open the file it closes immediality like something is blocking it. I am now on Mac OS 15.1
It's for a certificate that I have to install.
Topic:
Developer Tools & Services
SubTopic:
General
I am getting the following warning printed in the console while my app is running
Invalid profile 'c2ci': tags 'gTRC' and 'desc' overlap
Console metadata specifies it comes from ColorSync at com.apple.colorSync
How to fix this? It prints a lot in the console.
I have no sound on any app after beta 18.3 no keyboard click nothing
Topic:
Developer Tools & Services
SubTopic:
General
I'm calling this command to export archive:
xcodebuild -exportArchive -archivePath .build/XYZ.xcarchive -exportPath .build/XYZ.ipa -exportOptionsPlist Authenticator/ExportOptions.plist -quiet -allowProvisioningUpdates
Here is my exportOptions file content
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>method</key>
<string>app-store-connect</string>
<key>signingStyle</key>
<string>automatic</string>
<key>teamID</key>
<string>ABCD</string>
</dict>
</plist>
Most of the time this command fail with this error:
error: exportArchive No Accounts
error: exportArchive No signing certificate "iOS Distribution" found
What we found is that our Apple ID just disappear from Xcode and we need to add it again manually.
So there are two questions here:
Why Apple ID account dissapears and how I can fix this?
Is there an option to not use Apple ID account in Xcode and for example to use -authenticationKeyID flags of xcodebuild?
Just to mention this happens only on our CI machine and not locally.
Inside our app, after login (user side), getting grey screen on homepage.
Topic:
Developer Tools & Services
SubTopic:
General
Hi, I want to build an ios app that uses static c libraries. For reference, i did the following as a test:
Compiled a simple c date and time program with
clang -c -arch arm64 -sysroot <iPhoneOSSDK_path> date.c -o date_arm64.o
Created the static lib
ar rcs libdatetime_arm64.a date_arm64.o
Added the lib in my Xcode project.
Added the (.a) file in Build Rules -> Link Binary With Libraries
Included the (.a) and (.h) file path in Build Settings -> Search Paths -> Header and Library Search Path
Created a Bridging-Header.h file where I added
#import "date.h"
In my App.swift file, I called the function for getting the date and time
let dateTimeStr = String(cString: get_current_datetime())
print("Current Date and Time: \(dateTimeStr)")
After doing all the steps above, I am met with the error - Cannot find 'get_current_datetime' in scope
Is there any other method to use static c libraries in xcode?
Install CommandLineTools below macOS Sequoia installs the VULNERABLE version of Git, 2.39.3 while macOS Sequoia installs a non-vulnerable version 2.39.5. How to get the non vulnerable version installed on macOS Sonoma?
CVE-2024-32002 - Prior to versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4, repositories with submodules can be crafted in a way that exploits a bug in Git whereby it can be fooled into writing files not into the submodule's worktree but into a .git/ directory.
Hi
I'm building native app for SearchAds.
Is it possible to use app specific password with SearchAds API or get a token using app specific password?
I know its possible using JWT:
https://developer.apple.com/documentation/apple_search_ads/implementing_oauth_for_the_apple_search_ads_api
But using that in the app is not very user friendly even if the app will generate public and private keys.
I'm trying to build and run a Maui project but keep getting the following error:
I'm using JetBrains Rider and I have it set not to build for iOS but I can't seem to get past this message. I'm using an Apple Silicon Mac, the project is cross platform, builds and runs fine on Windows. The problem seems to be with libSDL2.a.
Has anyone encountered this error before? If so any suggestions on what to do about it?
Is there any way to manually adding UIDeviceFamily key inside info.plist and it updates the values inside xcode > Supported destinations section??
Ive been working on android studio and have my app put together and was gonna start thr apple process and everything I read says I'll need a Mac to do it. Can someone either point me in the right direction or could I send my code over and someone compile my code for me?
Topic:
Developer Tools & Services
SubTopic:
General