Post

Replies

Boosts

Views

Activity

(Swift Playgrounds for Mac) How do I build for iPhone?
I am trying to challenge myself by building an iPhone app in Swift Playgrounds. I just got a Mac Mini M4, so I am trying Swift Playgrounds for Mac. I can submit a build to TestFlight, but it's for Mac and won't let me even test on my iPhone. How can I build my app for iPhone? The least "hacky" answer is appreciated, but I'll entertain anything. Examples in order of hackiness might be: I missed an option in Playgrounds for Mac. Open my playground in Xcode, change something, open back in Playgrounds for Mac. Same as above, but maybe I have to add/copy a file (e.g., manifest.plist). Open my playground in Playgrounds for iPad (I have an iPad 9), do something, copy back to Playgrounds for Mac. Submit via Playgrounds for iPad. Submit via Xcode. BTW, I'm challenging myself not just for its own sake, but because I'm curious how far a student/newbie/etc can take Swift Playgrounds. I was hoping to set a good example for others looking for a lighter-resource, more user-friendly experience than Xcode (which is why I assume Playgrounds for Mac even exists). But right now it feels like Playgrounds for Mac is a … third-class citizen? Maybe the iPad version is second-class? I haven't really tried it. P.S. Why does this text editor seem so lame? Making a numbered list and adding to it is a nightmare. Should be: start a numbered list, hit return, new number appears below. I'm on Safari. This should be the best dev experience on the planet, not the worst!
1
0
207
2w
How to search Apple documentation well
(Will answer my own question, for future self and others. Feel free to contribute!) Recently, I’ve been trying to find info in Apple’s documentation, and it’s been a struggle. For example, I wanted to know if I could start an Xcode project, then use Xcode to create a GitHub repository. And if so, how? I dutifully went to Apple’s Developer site and its search bar (https://developer.apple.com/search/), then searched for xcode github, filtered by the Documentation tab. (https://developer.apple.com/search/?q=xcode%20github&type=Documentation) No promising results. My first thought was: Apple’s documentation is lacking! Or perhaps Apple’s search engine is lacking? Tips? BTW, Apple’s 2021 news about “Find the right documentation” (https://developer.apple.com/news/?id=6k6dy6z7) was not helpful.
1
0
483
May ’22