Post

Replies

Boosts

Views

Activity

Where is the Apple Developer Program License Agreement
This might sound ridiculous, but even more ridiculous is who ever thought of not putting a link to it... where can I find the Apple Developer Program License Agreement so I can accept it? I'm getting the following message: The updated Apple Developer Program License Agreement needs to be reviewed. In order to update your existing apps and submit new apps to the App Store, the Account Holder must review and accept the updated agreement. I go to the agreement section https://appstoreconnect.apple.com/agreements/ I it doesn't show anything...
8
0
2.7k
Oct ’25
objc[6125]: Class _PathPoint is implemented in both ...
I'm getting the following message every time I run the app: objc[6125]: Class _PathPoint is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore (0x11ef42e30) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/TextInputUI.framework/TextInputUI (0x16310a8b8). One of the two will be used. Which one is undefined. objc[6481]: Class RSABSSATokenBlinder is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CryptoKitCBridging.framework/CryptoKitCBridging (0x1314c7470) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CryptoKitPrivate.framework/CryptoKitPrivate (0x14f4c2368). One of the two will be used. Which one is undefined. I have no idea what that TextInputUI is or how it got there or why it's being repeated. How can I fix this without breaking its functionality?
15
4
8.1k
Aug ’23
App crashes on @main
I'm using AWS Amplify for my user Auth, right after user logging the app crashes on @main without any log error... This is the red crash message that appears on the screen: Thread 1: EXC_BAD_ACCESS (code=1, address=0x31df7547340) I've tried to debug it commenting out parts of the app but I can't find where is the problem because it happens randomly. I can log 4 times in a row fine and the 5th crashes or 2 times in a row it crashes, it's random. How can I properly debug this error?
6
0
3.8k
May ’23
Type '()' cannot conform to 'View error
I'm trying to create a function called ResetDay so I can call it on some other view, but I keep getting the error:Type '()' cannot conform to 'View'; only struct/enum/class types can conform to protocolsclass MyClass { // ************************* CORE DATA ************************* @FetchRequest( entity: Meals.entity(), sortDescriptors: [] ) var mealData: FetchedResults @Environment(\.managedObjectContext) var managedObjectContext // **************************************************************** func ResetDay() { ForEach(mealData, id: \.self) { meal in print(meal.status!) } } }What's going on?
11
1
27k
Feb ’23
.onTapGesture doesn't work on Stepper, only on its text
The .onTapGesture below only gets called when I tap on the text "Min. amount: $0.01", but when I tap the + or - it doesn't. How can I get it to work on the + or - as well? I tried setting a frame below the Stepper with: .frame(maxWidth: .infinity, maxHeight: .infinity) or setting the foreground color but made no difference. Any idea? Its code: @ViewBuilder var minCoinAmount: some View { // Min coin amount Stepper(value: $smallBalanceLimitDefinedByUser, in: range, step: step) { // Separated in two texts so it can be localized properly HStack { Text("Min. amount:") Text(utils.formatDoubleTo2DigitsString(amount: smallBalanceLimitDefinedByUser)) } } } and I'm calling it with: minCoinAmount .disabled(true) .onTapGesture { // Presents the Premium page store.premiumIsPresented.toggle() } Note: On iOS 15 I had it working with: .contentShape(Rectangle()) // << here !! .onTapGesture { But that trick no longer works, what's the right way now?
0
0
1.1k
Oct ’22
Project doesn't archive, complains about architecture
I have a SwiftUI project, iOS16, it builds fine if I choose a simulator/device, but when I choose Any iOS Device (arm64) and hit Archive, it fails with error: error build: Entry point (_main) undefined. for architecture arm64 I'm using an M1 Mac Studio to build it. I have the following in my main: @main struct MyAppNameApp: App { @UIApplicationDelegateAdaptor(AppDelegate.self) var appDelegate ... } class AppDelegate: NSObject, UIApplicationDelegate { func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool { // Sets cache for Images downloader SDWebImageSwiftUI // ... return true } } Under Architectures I have the following: Should I select for release Yes as well? Why is it failing? What setting do I have to look into? Thanks
2
0
1.6k
Sep ’22
App Store stuck In review loop - Help
I've googled this topic in depth and it seems like there is no answer, but since I have a little hope left, does anyone know or have an idea what is the best approach to get the app reviewed once it's been stuck in it for 2 weeks + The app was rejected multiple times because the tester had no idea what he/she was doing, imagine, they were putting the login credentials in a feature inside the app that was asking for something different, this people clearly don't know what they are doing, so that caused me to get rejected multiple times until I had to explain it like if it were a 3 years old, and now it's stuck in review. I self rejected it 2 days ago after 2+ weeks in review because I had already developed more features, the app is literally lagging behind because of the review process, so I don't know what to do, I thought to delete the app from the app store and re-upload creating a new bundle to maybe get out of the loop but that's not the solution. Here's the long list of people that had the same problem in the past with no clear solution: https://developer.apple.com/forums/thread/85769 https://developer.apple.com/forums/thread/115709 https://developer.apple.com/forums/thread/655919 https://discussions.apple.com/thread/250755251 https://developer.apple.com/forums/thread/95370 https://discussions.apple.com/thread/250983319 https://www.reddit.com/r/iOSProgramming/comments/2k0hqo/app_stuck_inreview/ Of course I contact apple review team via email (the only way since they don't have a phone number, this feels like a monopoly...) and they don't replay back, nothing... not even app status. I also did the form to expedite the review process and I haven't heard back. Can someone please advice what to do? I've read people waiting even 1-2 months, I can't wait that long for 1 update. What do I do?
2
2
2.9k
Apr ’22
Infinite pagination with local data
I have a large data set of elements in cache that I need to show, to implement the infinite pagination I thought to do it like this: @State var historyPagination: Int = 10 ForEach(Array(myLocalArrayData.enumerated()), id: \.element) { index, data in if(index < historyPagination) { MyView(data: data) } } // I have this because there is something weird going on that when I reach the bottom it adds to the count, even though the data hasn't changed let dataCount: Int = myLocalArrayData.count LazyVStack { if (dataCount > historyPagination) { ProgressView() .onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) { self.historyPagination += 10 } } } } The problem I'm having is that when it gets to the bottom part the spining animation doesn't go away and if I scroll a little bit up and then down I can see when I print the values that historyPagination keeps being added +10. It also seems to re-render the foreach (once I reach the "bottom") What am I doing wrong and is there a better way of doing it? Thanks EDIT: This glitch seems to only happen after certain amount of data, for example I tested it with 40 items and works fine, but if I have 200 items it seems bugged. Is there something like with Text("") in a view that you can't have more than x amount (I don't remember how many, 5, 10?) without putting it in a Group.
1
0
2k
Feb ’22
Where is the Apple Developer Program License Agreement
This might sound ridiculous, but even more ridiculous is who ever thought of not putting a link to it... where can I find the Apple Developer Program License Agreement so I can accept it? I'm getting the following message: The updated Apple Developer Program License Agreement needs to be reviewed. In order to update your existing apps and submit new apps to the App Store, the Account Holder must review and accept the updated agreement. I go to the agreement section https://appstoreconnect.apple.com/agreements/ I it doesn't show anything...
Replies
8
Boosts
0
Views
2.7k
Activity
Oct ’25
objc[6125]: Class _PathPoint is implemented in both ...
I'm getting the following message every time I run the app: objc[6125]: Class _PathPoint is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore (0x11ef42e30) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/TextInputUI.framework/TextInputUI (0x16310a8b8). One of the two will be used. Which one is undefined. objc[6481]: Class RSABSSATokenBlinder is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CryptoKitCBridging.framework/CryptoKitCBridging (0x1314c7470) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CryptoKitPrivate.framework/CryptoKitPrivate (0x14f4c2368). One of the two will be used. Which one is undefined. I have no idea what that TextInputUI is or how it got there or why it's being repeated. How can I fix this without breaking its functionality?
Replies
15
Boosts
4
Views
8.1k
Activity
Aug ’23
App crashes on @main
I'm using AWS Amplify for my user Auth, right after user logging the app crashes on @main without any log error... This is the red crash message that appears on the screen: Thread 1: EXC_BAD_ACCESS (code=1, address=0x31df7547340) I've tried to debug it commenting out parts of the app but I can't find where is the problem because it happens randomly. I can log 4 times in a row fine and the 5th crashes or 2 times in a row it crashes, it's random. How can I properly debug this error?
Replies
6
Boosts
0
Views
3.8k
Activity
May ’23
Type '()' cannot conform to 'View error
I'm trying to create a function called ResetDay so I can call it on some other view, but I keep getting the error:Type '()' cannot conform to 'View'; only struct/enum/class types can conform to protocolsclass MyClass { // ************************* CORE DATA ************************* @FetchRequest( entity: Meals.entity(), sortDescriptors: [] ) var mealData: FetchedResults @Environment(\.managedObjectContext) var managedObjectContext // **************************************************************** func ResetDay() { ForEach(mealData, id: \.self) { meal in print(meal.status!) } } }What's going on?
Replies
11
Boosts
1
Views
27k
Activity
Feb ’23
.onTapGesture doesn't work on Stepper, only on its text
The .onTapGesture below only gets called when I tap on the text "Min. amount: $0.01", but when I tap the + or - it doesn't. How can I get it to work on the + or - as well? I tried setting a frame below the Stepper with: .frame(maxWidth: .infinity, maxHeight: .infinity) or setting the foreground color but made no difference. Any idea? Its code: @ViewBuilder var minCoinAmount: some View { // Min coin amount Stepper(value: $smallBalanceLimitDefinedByUser, in: range, step: step) { // Separated in two texts so it can be localized properly HStack { Text("Min. amount:") Text(utils.formatDoubleTo2DigitsString(amount: smallBalanceLimitDefinedByUser)) } } } and I'm calling it with: minCoinAmount .disabled(true) .onTapGesture { // Presents the Premium page store.premiumIsPresented.toggle() } Note: On iOS 15 I had it working with: .contentShape(Rectangle()) // << here !! .onTapGesture { But that trick no longer works, what's the right way now?
Replies
0
Boosts
0
Views
1.1k
Activity
Oct ’22
Project doesn't archive, complains about architecture
I have a SwiftUI project, iOS16, it builds fine if I choose a simulator/device, but when I choose Any iOS Device (arm64) and hit Archive, it fails with error: error build: Entry point (_main) undefined. for architecture arm64 I'm using an M1 Mac Studio to build it. I have the following in my main: @main struct MyAppNameApp: App { @UIApplicationDelegateAdaptor(AppDelegate.self) var appDelegate ... } class AppDelegate: NSObject, UIApplicationDelegate { func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool { // Sets cache for Images downloader SDWebImageSwiftUI // ... return true } } Under Architectures I have the following: Should I select for release Yes as well? Why is it failing? What setting do I have to look into? Thanks
Replies
2
Boosts
0
Views
1.6k
Activity
Sep ’22
App Store stuck In review loop - Help
I've googled this topic in depth and it seems like there is no answer, but since I have a little hope left, does anyone know or have an idea what is the best approach to get the app reviewed once it's been stuck in it for 2 weeks + The app was rejected multiple times because the tester had no idea what he/she was doing, imagine, they were putting the login credentials in a feature inside the app that was asking for something different, this people clearly don't know what they are doing, so that caused me to get rejected multiple times until I had to explain it like if it were a 3 years old, and now it's stuck in review. I self rejected it 2 days ago after 2+ weeks in review because I had already developed more features, the app is literally lagging behind because of the review process, so I don't know what to do, I thought to delete the app from the app store and re-upload creating a new bundle to maybe get out of the loop but that's not the solution. Here's the long list of people that had the same problem in the past with no clear solution: https://developer.apple.com/forums/thread/85769 https://developer.apple.com/forums/thread/115709 https://developer.apple.com/forums/thread/655919 https://discussions.apple.com/thread/250755251 https://developer.apple.com/forums/thread/95370 https://discussions.apple.com/thread/250983319 https://www.reddit.com/r/iOSProgramming/comments/2k0hqo/app_stuck_inreview/ Of course I contact apple review team via email (the only way since they don't have a phone number, this feels like a monopoly...) and they don't replay back, nothing... not even app status. I also did the form to expedite the review process and I haven't heard back. Can someone please advice what to do? I've read people waiting even 1-2 months, I can't wait that long for 1 update. What do I do?
Replies
2
Boosts
2
Views
2.9k
Activity
Apr ’22
Infinite pagination with local data
I have a large data set of elements in cache that I need to show, to implement the infinite pagination I thought to do it like this: @State var historyPagination: Int = 10 ForEach(Array(myLocalArrayData.enumerated()), id: \.element) { index, data in if(index < historyPagination) { MyView(data: data) } } // I have this because there is something weird going on that when I reach the bottom it adds to the count, even though the data hasn't changed let dataCount: Int = myLocalArrayData.count LazyVStack { if (dataCount > historyPagination) { ProgressView() .onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) { self.historyPagination += 10 } } } } The problem I'm having is that when it gets to the bottom part the spining animation doesn't go away and if I scroll a little bit up and then down I can see when I print the values that historyPagination keeps being added +10. It also seems to re-render the foreach (once I reach the "bottom") What am I doing wrong and is there a better way of doing it? Thanks EDIT: This glitch seems to only happen after certain amount of data, for example I tested it with 40 items and works fine, but if I have 200 items it seems bugged. Is there something like with Text("") in a view that you can't have more than x amount (I don't remember how many, 5, 10?) without putting it in a Group.
Replies
1
Boosts
0
Views
2k
Activity
Feb ’22