Post

Replies

Boosts

Views

Activity

Reply to I can't find *.swift file in my project's directory
Hello.xcodeproject is your Xcode project file. Among lots of other things, it keeps track of where the files are for this project. You need to create a Hello.swift file in your Xcode project. Load the Hello.xcodeproject file, and see if there's aHello.swift file in the project view on the left. If not, then you have to create one, and write your code in there. If there is - and it's red - it means the file has been moved and Xcode doesn't know about it. If you can locate it (use Spotlight) you can put it back in the same folder as the Hello.xcodeproject file. How about launching the project file and taking a screenshot to show us what's in the left side project view?
Topic: Programming Languages SubTopic: Swift Tags:
Jul ’24
Reply to Can't startup Xcode-beta
This is mentioned at the top of the release notes for that version of Xcode. Go back to the downloads section on the Apple Developer website, click Applications at the top of the web page, and click to view the release notes for Xcode. EDIT: Here's the link: https://developer.apple.com/documentation/xcode-release-notes/xcode-16-release-notes There's a couple of Terminal commands you have to run with sudo: sudo xcode-select -s /Applications/Xcode-beta sudo xcodebuild -runFirstLaunch Worked perfectly for me.
Jul ’24
Reply to Menus are flipped (mirrored) in Arabic SwiftUI
The Developer Forums aren't really the right place to raise bugs in a new version of an OS. Apple's engineers aren't reading through these pages waiting to see if anyone's found a bug before they fix it. These forums are for third-party developers writing apps for Apple's platforms to discuss issues with their code. You need to raise each issue you find separately at https://www.apple.com/feedback/ You can post the FB numbers here if you want, so that others can link to them.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’24
Reply to Is possible to customize apps in more than 1 profile on ios18 beta public
This is similar to your other question. The Developer Forums aren't really the right place to raise bugs in a new version of an OS. Apple's engineers aren't reading through these pages waiting to see if anyone's found a bug before they fix it. These forums are for third-party developers writing apps for Apple's platforms to discuss issues with their code. You need to raise each issue you find separately at https://www.apple.com/feedback/ You can post the FB numbers here if you want, so that others can link to them.
Topic: App & System Services SubTopic: Hardware Tags:
Jul ’24
Reply to iPhone 14 freezes and crashes
You haven't said which version of iOS you updated to. Besides, these are the Developer Forums, where developers of apps for Apple's platforms ask each other for hints and tips on coding. These forums are not where Apple's actual developers chat about product issues. Your question is more of a product support one, so I'd suggest you ask it over at the Apple Support Forums. Thanks.
Jul ’24
Reply to Downloaded iOS 18 public beta and all of a sudden I can’t send screen time requests
Yes, if you search these forums you'll see lots of reports of this bug. But the Developer Forums aren't really the right place to raise bugs in a new version of an OS. Apple's engineers aren't reading through these pages to see if anyone's found a bug. These forums are for third-party developers writing apps for Apple's platforms to discuss issues with their code. You need to raise each issue you find separately at https://www.apple.com/feedback/ You can post the FB numbers here if you want, so that others can link to them.
Jul ’24
Reply to Contents of Swift dictionaries and arrays being lost
Have you tried this: (not actual code, but close enough) struct DataObject { var items: [String : Any] } // In some other function somewhere, where you get the JSON data: func getData() -> DataObject { var jsonData = // get your JSON data var jsonDataAsItems = // convert to items, if needed return DataObject(items: jsonDataAsItems) } // Somewhere else: var myItems: DataObject = getData() I've used the struct to say, "this is what the data object looks like," but it's not holding the data itself. The getData() function creates an instance of the struct and returns it. You use the result of that function in another variable - myItems, which should contain the JSON data, as required.
Topic: Programming Languages SubTopic: Swift Tags:
Jul ’24
Reply to Message app
Your "message app"? Is this an app you've written yourself, or are you talking about the "Messages" app from Apple? If it's your own app, debug it. If it's Apple's Messages app, have you tried turning off iMessage? Settings app > Messages > toggle "iMessage" off, then try the app again. If it works, re-enable iMessage. If that doesn't work, try signing out of iCloud (at the top of the Settings app), and signing back in.
Topic: App & System Services SubTopic: Hardware Tags:
Jul ’24
Reply to Opening screen time freezes up iPhone and lags
Yes, if you search these forums you'll see lots of reports of this bug. But the Developer Forums aren't really the right place to raise bugs in a new version of an OS. Apple's engineers aren't reading through these pages to see if anyone's found a bug. These forums are for third-party developers writing apps for Apple's platforms to discuss issues with their code. You need to raise each issue you find separately at https://www.apple.com/feedback/ You can post the FB numbers here if you want, so that others can link to them.
Jul ’24
Reply to Xcode
Yes, it can be solved. You have to build it for iOS 17 - as the message states - or use an older version of Xcode that includes the iOS 16 SDK, and build it with that. This is not an issue for Apple to fix, so there is nothing for them to solve.
Replies
Boosts
Views
Activity
Jul ’24
Reply to I can't find *.swift file in my project's directory
Hello.xcodeproject is your Xcode project file. Among lots of other things, it keeps track of where the files are for this project. You need to create a Hello.swift file in your Xcode project. Load the Hello.xcodeproject file, and see if there's aHello.swift file in the project view on the left. If not, then you have to create one, and write your code in there. If there is - and it's red - it means the file has been moved and Xcode doesn't know about it. If you can locate it (use Spotlight) you can put it back in the same folder as the Hello.xcodeproject file. How about launching the project file and taking a screenshot to show us what's in the left side project view?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to Can't startup Xcode-beta
This is mentioned at the top of the release notes for that version of Xcode. Go back to the downloads section on the Apple Developer website, click Applications at the top of the web page, and click to view the release notes for Xcode. EDIT: Here's the link: https://developer.apple.com/documentation/xcode-release-notes/xcode-16-release-notes There's a couple of Terminal commands you have to run with sudo: sudo xcode-select -s /Applications/Xcode-beta sudo xcodebuild -runFirstLaunch Worked perfectly for me.
Replies
Boosts
Views
Activity
Jul ’24
Reply to WidgetKit Not running in iOS 14/15 (FBSOpenApplicationServiceErrorDomain)
Didn't widgets get added in iOS 14? I think, in order for your app to communicate with widgets, your main app's minimum target has to be iOS 14.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to IOS 18 beta family
Have you raised a Feedback report? If not, please do so at https://www.apple.com/feedback/ then post the FB number here.
Replies
Boosts
Views
Activity
Jul ’24
Reply to Menus are flipped (mirrored) in Arabic SwiftUI
The Developer Forums aren't really the right place to raise bugs in a new version of an OS. Apple's engineers aren't reading through these pages waiting to see if anyone's found a bug before they fix it. These forums are for third-party developers writing apps for Apple's platforms to discuss issues with their code. You need to raise each issue you find separately at https://www.apple.com/feedback/ You can post the FB numbers here if you want, so that others can link to them.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to Is possible to customize apps in more than 1 profile on ios18 beta public
This is similar to your other question. The Developer Forums aren't really the right place to raise bugs in a new version of an OS. Apple's engineers aren't reading through these pages waiting to see if anyone's found a bug before they fix it. These forums are for third-party developers writing apps for Apple's platforms to discuss issues with their code. You need to raise each issue you find separately at https://www.apple.com/feedback/ You can post the FB numbers here if you want, so that others can link to them.
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to Unable to Customize multiple Home-screens on iOS18 beta public
Have you raised a Feedback report? If not, please do so at https://www.apple.com/feedback/ then post the FB number here.
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to Camera/photo quality issues on iPhone 15 Pro with iOS 18 Public Beta
Have you raised a Feedback report? If not, please do so at https://www.apple.com/feedback/ then post the FB number here.
Replies
Boosts
Views
Activity
Jul ’24
Reply to iPhone 14 freezes and crashes
You haven't said which version of iOS you updated to. Besides, these are the Developer Forums, where developers of apps for Apple's platforms ask each other for hints and tips on coding. These forums are not where Apple's actual developers chat about product issues. Your question is more of a product support one, so I'd suggest you ask it over at the Apple Support Forums. Thanks.
Replies
Boosts
Views
Activity
Jul ’24
Reply to Downloaded iOS 18 public beta and all of a sudden I can’t send screen time requests
Yes, if you search these forums you'll see lots of reports of this bug. But the Developer Forums aren't really the right place to raise bugs in a new version of an OS. Apple's engineers aren't reading through these pages to see if anyone's found a bug. These forums are for third-party developers writing apps for Apple's platforms to discuss issues with their code. You need to raise each issue you find separately at https://www.apple.com/feedback/ You can post the FB numbers here if you want, so that others can link to them.
Replies
Boosts
Views
Activity
Jul ’24
Reply to Apple Music issues after 18.2 update
Have you raised a Feedback report? If not, please do so at https://www.apple.com/feedback/ then post the FB number here.
Replies
Boosts
Views
Activity
Jul ’24
Reply to Contents of Swift dictionaries and arrays being lost
Have you tried this: (not actual code, but close enough) struct DataObject { var items: [String : Any] } // In some other function somewhere, where you get the JSON data: func getData() -> DataObject { var jsonData = // get your JSON data var jsonDataAsItems = // convert to items, if needed return DataObject(items: jsonDataAsItems) } // Somewhere else: var myItems: DataObject = getData() I've used the struct to say, "this is what the data object looks like," but it's not holding the data itself. The getData() function creates an instance of the struct and returns it. You use the result of that function in another variable - myItems, which should contain the JSON data, as required.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to Message app
Your "message app"? Is this an app you've written yourself, or are you talking about the "Messages" app from Apple? If it's your own app, debug it. If it's Apple's Messages app, have you tried turning off iMessage? Settings app > Messages > toggle "iMessage" off, then try the app again. If it works, re-enable iMessage. If that doesn't work, try signing out of iCloud (at the top of the Settings app), and signing back in.
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to Opening screen time freezes up iPhone and lags
Yes, if you search these forums you'll see lots of reports of this bug. But the Developer Forums aren't really the right place to raise bugs in a new version of an OS. Apple's engineers aren't reading through these pages to see if anyone's found a bug. These forums are for third-party developers writing apps for Apple's platforms to discuss issues with their code. You need to raise each issue you find separately at https://www.apple.com/feedback/ You can post the FB numbers here if you want, so that others can link to them.
Replies
Boosts
Views
Activity
Jul ’24