Post not yet marked as solved
I have registered and created passkey with credentials.create function in apple device with software 17.4.1 in Safari browser. When I clean the cache in safari and try to log in, it force me to register again and after that I had two passkeys on my device. It should be like this ? Why Safari is related to Passkeys ?
Post not yet marked as solved
apple watch change the file name and address of the file win download
Post not yet marked as solved
I am new developer and I did app for iPhone and it works fine at 17.2. environmen. Do I have convert it to something like 14.4. iOS version before It will be accepted into AppStore?
Post not yet marked as solved
Hello,
We have two chat applications that are based on the same source code but are owned by different individuals. These apps have distinct names, color themes, and user bases, although they share the same underlying source code. Both apps were uploaded to the App Store over three years ago. However, when we attempted to update one of the apps recently, it was rejected for violating Guideline 4.3(a) - Design - Spam. The rejection message stated:
"We noticed your app shares a similar binary, metadata, and/or concept as apps submitted to the App Store by other developers, with only minor differences. Submitting similar or repackaged apps is a form of spam that creates clutter and makes it difficult for users to discover new apps."
We are seeking guidance on how to obtain approval for this update. Any suggestions or advice would be greatly appreciated.
Thanks
Post not yet marked as solved
Hi!
imagine this
guard let foo = bar.baz else {
print("\(foo.value)")
return foo.value
}
I get Xcode error
String interpolation produces a debug description for an optional value; did you mean to make this explicit? with the fixing option: Use 'String(describing:)' to silence this warning
When I click Fix button I got:
guard let foo = bar.baz else {
print("\(foString(describing: o.value)"))
return foo.value
}
The automatic completion is broken. Is it a known bug or there is something wrong with me? ;)
Xcode version 15.3 (15E204a)
macOS Sonoma 14.4.1 (23E224)
Apple M1 Pro
Post not yet marked as solved
I am trying to determine the installation source of my iOS app.
According to the documentation https://developer.apple.com/documentation/appdistribution/distributing-your-app-on-an-alternative-marketplace#Customize-your-app-depending-on-the-installation-source, MarketplaceKit AppDistributor static property current should be used.
But build fails due to the error 'Cannot find 'AppDistributor' in scope'.
Is MarketplaceKit available for apps that install from an alternative app marketplace?
Post not yet marked as solved
We are using and iOS version 17.4.1 and 17.5(beta) , and when are we facing the issue for local network permission in our app.
Success scenario steps:
Don't allow the local network permission in our App
Allow it manually in app setting for local network permission(works only in first install of the App)
We are able to call the API successfully
Error scenario steps:
Allow the local network permission popup to app when asked for permission
Call the API successfully
Uninstall the app and install the same app again and don't allow the local network permission
API call fail's
Manually change the local network permission to allow in app settings
Still the API call fails even if we allow the local network permission
Conclusion : We are getting API error when re-install the app and if it is not allowed local network permission as well as when we allow the local network permission. Looks like caching issue.
Note: Even if uninstall and install multiple time and allow the local network permission from 2nd time onward API keeps on failing , but these scenario work perfectly fine on iOS 16 version and below. Even the existing app stopped working after updating iOS version to 17 and above.
Also we found alternatively when we uninstall the app and restart the device and install it back again it works fine for the first time as a fresh install.
Additionally : We are not calling local network permission explicitly, when the API call is happening this is native popup coming on iOS
Post not yet marked as solved
I stopped receiving status notifications on my app. I have to contantly log to see if my app build went through review. I was getting them, and i do get them for other apps I am admin on. The one I create and manage, I’m not getting emails.
Post not yet marked as solved
It looks like Arabic is not supported by BetaBuildLocalizationCreateRequest
https://developer.apple.com/documentation/appstoreconnectapi/betabuildlocalizationcreaterequest/data/attributes
Is there any way to update this localization programmatically? If not, any timeline when it will be available?
The goal here is to add "What's New" notes automatically in CI
Post not yet marked as solved
hi, I made an interface for VPN applications for iOS, and I just need to make a connection to the protocol, I wanted to use wireguard, but I can’t do it, what can you suggest me?
Post not yet marked as solved
I prepare an app to migrate from ObservableObject to Observable, from EnvironmentObject to Environment(MyClass.self) and so so forth.
That works OK, very simple.
But, that forces to run on macOS 14 or more recent.
So I would like to have it conditionally, such as:
if macOS 14 available
@Environment(ActiveConfiguration.self) var activeConfiguration: ActiveConfiguration
otherwise
@EnvironmentObject var activeConfiguration: ActiveConfiguration
The same for the class declaration:
if macOS 14 available
@Observable class ActiveConfiguration {
var config = Configuration()
}
otherwise
class ActiveConfiguration : ObservableObject {
@Published var config = Configuration()
}
Is there a way to achieve this (I understand it is not possible through extensions of Macros, as we can do for modifiers) ?
Could I define 2 classes for ActiveConfiguration, but then what about @Environment ?
Post not yet marked as solved
I have managed enterprise app. universal link is working as expected from the safari but when I tried the same functionality from the managed edge browser, edge does not detect the universal link.
Unable to open our managed app from the edge browser, although from the safari it's working as expected.
Unable to open our managed app from the outlook/Team. although from a non-manged app, we can open our managed app.
Does edge browser support universal link?
iOS version : 17.4.1
Post not yet marked as solved
I got this SSML from w3. org. AVSpeechUtterance(ssmlRepresentation:) is not complying with the contour. It doesn't change hz.
<?xml version="1.0"?>
<speak version="1.1" xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
http://www.w3.org/TR/speech-synthesis11/synthesis.xsd"
xml:lang="en-US">
<prosody contour="(0%,+20Hz) (10%,+30%) (40%,+10Hz)">
good morning
</prosody>
</speak>
override func viewDidLoad() {
super.viewDidLoad()
guard let localUtterance = AVSpeechUtterance(ssmlRepresentation: self.speechSML) else {
print("SML did not work.")
return
}
self.utterance = localUtterance
self.utterance.voice = self.voiceNoelle
}
self.synthesizer.speak(self.utterance)
Post not yet marked as solved
For example, can I place items in vr in my living room, then walk into my bedroom and no longer see them as they are hidden behind a wall? Could I place something inside a cupboard?
Post not yet marked as solved
Hi all,
I'm attempting to generate an XCFramework that must maintain ABI stability. The framework is created from an SPM using the attached script generate-FK.sh.
I does not work. Removing the flag BUILD_LIBRARY_FOR_DISTRIBUTION=YES and adding the flag -allow-internal-distribution to xcodebuild -create-xcframework everything is fine. Despite this resolves the problem, it results in the generated module not being ABI stable. However, when attempting the script approach, it generates the XCFramework but when used it raises an error in arm64-apple-ios-private.swiftinterface with no such file or module as soon as it encounters an import statement for ModuleX reading it.
The package structure is attached as Package.swift and te obtained result XCFramework structure is as follows:
MyLibrary.xcframework
├── Info.plist
├── ios-arm64
│ └── MyLibrary.framework
│ ├── Headers
│ │ ├── ModuleH-Swift.h
│ │ ├── ModuleH.modulemap
│ │ ├── ModuleC-Swift.h
│ │ ├── ModuleC.modulemap
│ │ ├── ModuleA-Swift.h
│ │ ├── ModuleA.modulemap
│ │ ├── MyLibrary-Swift.h
│ │ └── MyLibrary.modulemap
│ ├── Info.plist
│ ├── Modules
│ │ └── MyLibrary.swiftmodule
│ │ ├── arm64-apple-ios.abi.json
│ │ ├── arm64-apple-ios.swiftdoc
│ │ └── arm64-apple-ios.swiftmodule
│ └── MyLibrary
└── ios-arm64_x86_64-simulator
└── MyLibrary.framework
├── Headers
│ ├── ModuleH-Swift.h
│ ├── ModuleH.modulemap
│ ├── ModuleC-Swift.h
│ ├── ModuleC.modulemap
│ ├── ModuleA-Swift.h
│ ├── ModuleA.modulemap
│ ├── MyLibrary-Swift.h
│ └── MyLibrary.modulemap
├── Info.plist
├── Modules
│ └── MyLibrary.swiftmodule
│ ├── arm64-apple-ios-simulator.abi.json
│ ├── arm64-apple-ios-simulator.swiftdoc
│ ├── arm64-apple-ios-simulator.swiftmodule
│ ├── x86_64-apple-ios-simulator.abi.json
│ ├── x86_64-apple-ios-simulator.swiftdoc
│ └── x86_64-apple-ios-simulator.swiftmodule
├── MyLibrary
└── _CodeSignature
└── CodeResources
It's worth mentioning that the library must be compatible with both Objective-C and Swift, and Modules A, C, and H are imported into the MyLibrary module as @_exported modules, that is why I've included the headers and module maps.
What is wrong?
Thank you in advance for your assistance.
Post not yet marked as solved
如何自定义开发表盘模版,不是表盘组件,比如设置背景图片,调整各个表盘组件的位置
Post not yet marked as solved
Hello IOS Dev Community, I'm very new to Apple shortcuts and am on a journey to build up a series of shortcuts to make my life easier on Mac. I have Google Drive linked to Finder, then I made a program like the one below which allows me to select a destination folder in the said Drive folder and move the most recent downloaded file over. I usually start the program by typing in the spotlight search bar, but it would show this error: "ls: .: Operation not permitted"
but, when I actually open the Shortcuts app and click run, it works perfectly fine, what could be the reason behind this?
Thank you guys
Post not yet marked as solved
手表系统: 10.2
表现:从手机Watch App上看,表盘组件部分都显示关闭;从手表上看,表盘组件不展示
Post not yet marked as solved
Hello Apple Developer Forum,
I'm reaching out because I've encountered an issue with my app's implementation involving the ScrollView and the digitalCrown, and I'm hoping to find some guidance or assistance from the community.
Currently, I'm developing an app where users can navigate through dates using the digitalCrown to change the "$scrollAmount", which then dynamically updates the ScrollView with events corresponding to that date. However, I've run into a problem where the ScrollView is being inadvertently scrolled by the digitalCrown every time it's initiated.
Ideally, I would like to disable the digitalCrown's interaction with the ScrollView altogether, so that the ScrollView is only scrolled using touch inputs and not by the digitalCrown. I've tried several approaches to achieve this, but haven't had much success so far.
Could anyone please provide some guidance or suggestions on how I can effectively disable the digitalCrown's interaction with the ScrollView while still allowing touch-based scrolling?
Any help or insights into this matter would be greatly appreciated. Thank you very much in advance for your time and assistance.
Best regards,
Example code:
var body: some View {
NavigationView {
VStack {
HStack{
Text("\(formattedDate(for: scrollAmount, format: lineOne))")
.onTapGesture {
scrollAmount = 0.0
}
}
ScrollView{
ForEach(viewModel.events, id: \.event) { viewModelItem in
let event = viewModelItem.event
VStack {
HStack {
Text(event.title)
}
}
}
}
.scrollDisabled(true)
}
}
.focusable(isFocused)
.digitalCrownRotation(
detent: $scrollAmount,
from: -365.0,
through: 365.0,
by: 1.0,
sensitivity: .low,
isContinuous: false,
isHapticFeedbackEnabled: true)
.onChange(of: scrollAmount) {
let roundedValue = round(scrollAmount)
scrollAmount = roundedValue
viewModel.fetchEvents(for: scrollAmount)
}
}
}
Post not yet marked as solved
The error "Address validation failed. Please update the legal entity address" is encountered when attempting to rectify the issue. However, efforts to resolve this problem lead to another issue: "We are currently unable to process your request. Please try again later."