Post

Replies

Boosts

Views

Activity

Reply to App Ownership Question
You should take ownership of your app. Use your Apple Developer account, and add your Developer as a member of your Team (with an appropriate role). (If the app already exists under another account, then it will need to be transferred.) Use your GitHub (or equivalent) source code repository, and add your Developer to that. So everything is hosted/sourced on an account that you control.
Sep ’21
Reply to stopDeviceMotionUpdates doesn't stop motion updates
If updates aren't stopping, that suggests something like (one of): • You aren't stopping them • They are immediately restarting • They are starting multiple times You need to call stopDeviceMotionUpdates() Which you do, in stopQueuedUpdates() So are you calling stopQueuedUpdates() correctly (you don't show the code for this)? Do you have only one WatchMotionManager?
Sep ’21
Reply to Unity Warnings, publish app?
Your source code is not uploaded to the App Store, so Apple will not be looking at those warnings. There are different views on it: Some people treat warnings the same as errors - they must be fixed. Other people take a more relaxed view - some warnings are trivial, and cause no harm. My personal approach is to allow some warnings during development (e.g. when using TestFlight), but I like to clear them all before submitting to the App Store.
Sep ’21
Reply to Can't read 'data' object returned from URLRequest
You are receiving data, and the "let data = data" command is okay. So presumably the failure occurs on: if let decodedResponse = try? JSONDecoder().decode(FDCResponse.self, from: data) { You don't include a definition of FDCResponse, so I can't test that. However, you can try what I did: if let data = data { if let dataString = String(data: data, encoding: .utf8) { print("got dataString: \n\(dataString)") } // ... Which prints the incoming json, which looks like this: {"totalHits":5,"currentPage":1,"totalPages":1,"pageList":[1],"foodSearchCriteria":{"dataType":["Foundation"],"query":"apple fuji","generalSearchInput":"apple fuji","pageNumber":1,"numberOfResultsPerPage":50, ... So you can compare that json with your FDCResponse, to see where an error might arise.
Topic: App & System Services SubTopic: General Tags:
Sep ’21
Reply to List of SwiftUI very lag when scroll with realtime data (item of array quick change)
On tapping "Fake data realtime update": you start an infinite loop of updataData() which calls itself (100 times a second) For me, this pins CPU activity at 100% Considering that, I found your code surprisingly responsive, I expected it to grind to a halt! Updates may be arriving rapidly, but does your UI really need to update 100 times per second? I think in a real app, a more realistic strategy would be to gather a batch of updates, and update the UI once, with the entire batch. And of course, non-UI work need not be on the main thread.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’21
Reply to Upload to the store Error
From what you have posted, you have: App bundle id: • com.legacylouisvillellc.legacylouisville ...and extension id: • com.legacylouisvillellc.legacylouisville But these two bundle id's must be different. The extension's bundle id should use the app's bundle id as a prefix, so... App bundle id: • com.legacylouisvillellc.legacylouisville ...and extension id: • com.legacylouisvillellc.legacylouisville.myExtension (Whatever myExtension should be called)
Aug ’21
Reply to Increasing MultipeerConnectivity WIFI range
If the range restriction is with peer-to-peer WiFi, then perhaps consider using WiFi, but not peer-to-peer, with a battery-powered router half-way between the two iPhones?
Replies
Boosts
Views
Activity
Sep ’21
Reply to App Ownership Question
You should take ownership of your app. Use your Apple Developer account, and add your Developer as a member of your Team (with an appropriate role). (If the app already exists under another account, then it will need to be transferred.) Use your GitHub (or equivalent) source code repository, and add your Developer to that. So everything is hosted/sourced on an account that you control.
Replies
Boosts
Views
Activity
Sep ’21
Reply to Cannot find 'self' in scope
"self" refers to the object that the func is contained in. But your code shows no such object. Perhaps you have you omitted the crucial code? ...but if these funcs are global, then there is indeed no "self".
Replies
Boosts
Views
Activity
Sep ’21
Reply to stopDeviceMotionUpdates doesn't stop motion updates
If updates aren't stopping, that suggests something like (one of): • You aren't stopping them • They are immediately restarting • They are starting multiple times You need to call stopDeviceMotionUpdates() Which you do, in stopQueuedUpdates() So are you calling stopQueuedUpdates() correctly (you don't show the code for this)? Do you have only one WatchMotionManager?
Replies
Boosts
Views
Activity
Sep ’21
Reply to Unity Warnings, publish app?
Your source code is not uploaded to the App Store, so Apple will not be looking at those warnings. There are different views on it: Some people treat warnings the same as errors - they must be fixed. Other people take a more relaxed view - some warnings are trivial, and cause no harm. My personal approach is to allow some warnings during development (e.g. when using TestFlight), but I like to clear them all before submitting to the App Store.
Replies
Boosts
Views
Activity
Sep ’21
Reply to Can't read 'data' object returned from URLRequest
You are receiving data, and the "let data = data" command is okay. So presumably the failure occurs on: if let decodedResponse = try? JSONDecoder().decode(FDCResponse.self, from: data) { You don't include a definition of FDCResponse, so I can't test that. However, you can try what I did: if let data = data { if let dataString = String(data: data, encoding: .utf8) { print("got dataString: \n\(dataString)") } // ... Which prints the incoming json, which looks like this: {"totalHits":5,"currentPage":1,"totalPages":1,"pageList":[1],"foodSearchCriteria":{"dataType":["Foundation"],"query":"apple fuji","generalSearchInput":"apple fuji","pageNumber":1,"numberOfResultsPerPage":50, ... So you can compare that json with your FDCResponse, to see where an error might arise.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’21
Reply to Step Registration Developer License
https://developer.apple.com/programs/enroll/
Replies
Boosts
Views
Activity
Sep ’21
Reply to should i update my ipad air 4 to ipados 15 public beta?
No. Unless you have specific reasons for using Betas, you should stick to release versions. Betas are less reliable, consume more resourses, have poorer battery life, and some apps may have issues. Update to the release version of iPadOS 15, when that becomes available.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’21
Reply to How can I get myself removed from another account that I am no longer associated with?
To leave a team From App Store Connect: Click your name (at the top-right), and select "Edit Profile" Check it's the team you want to leave Scroll to the bottom, and select "Leave Team" Confirm
Replies
Boosts
Views
Activity
Aug ’21
Reply to Code Example Does not work
Compiles cleanly, and runs fine for me. M1 MacBook Pro Xcode 12.5.1 (12E507) I suggest you try the usual fixes... clear the Derived Data folder, restart everything...
Replies
Boosts
Views
Activity
Aug ’21
Reply to List of SwiftUI very lag when scroll with realtime data (item of array quick change)
On tapping "Fake data realtime update": you start an infinite loop of updataData() which calls itself (100 times a second) For me, this pins CPU activity at 100% Considering that, I found your code surprisingly responsive, I expected it to grind to a halt! Updates may be arriving rapidly, but does your UI really need to update 100 times per second? I think in a real app, a more realistic strategy would be to gather a batch of updates, and update the UI once, with the entire batch. And of course, non-UI work need not be on the main thread.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’21
Reply to "Pending Agreement" but All EULAs have been agreed and developer program is active
Did you check both websites? App Store Connect Apple Developer
Replies
Boosts
Views
Activity
Aug ’21
Reply to Upload to the store Error
From what you have posted, you have: App bundle id: • com.legacylouisvillellc.legacylouisville ...and extension id: • com.legacylouisvillellc.legacylouisville But these two bundle id's must be different. The extension's bundle id should use the app's bundle id as a prefix, so... App bundle id: • com.legacylouisvillellc.legacylouisville ...and extension id: • com.legacylouisvillellc.legacylouisville.myExtension (Whatever myExtension should be called)
Replies
Boosts
Views
Activity
Aug ’21
Reply to SwiftUI Map Annotations - OS API
Annotations rely on CLLocationCoordinate2D. You will need to convert your Eastings and Northings to Longitudes and Latitudes. How you do this will depend on how you have defined your Eastings and Northings.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’21
Reply to Using a wifi and location services to trigger a function.
Geofencing... isn't this what Region Monitoring is for? https://developer.apple.com/documentation/corelocation/monitoring_the_user_s_proximity_to_geographic_regions
Replies
Boosts
Views
Activity
Aug ’21