Post

Replies

Boosts

Views

Activity

Avoiding Temporary Provisioning Profile
I'm an aspiring developer and have built my first app. Works fine in Xcode and on my iPhone. I'm quite happy with it. However after 6 days, the app stops working and needs to be rebuilt from Xcode. I understand that this comes from the provisioning profile being managed by Xcode and being temporary. Sofar I have not enlisted in Apple Developer program. This may be a workaround, but I find it quite abusive to be forced to pay 100€ per year to use my own app on my own device . Now, how can I have a permanent profile for my app on my own iPhone so that I could use it without having to rebuild it from Xcode every 6 days ? Thanks
1
0
655
Oct ’20
preventing user input between animated views
Is there a simple way to prevent user input between animated views ?For example I click a button, i have a 2 second animation, and the UI is not clickable for 2 seconds whil preresenting the animation ?By default the second view is immediately clickable, which is not what I wantThanks for your ideas.
1
0
2.3k
Apr ’20
Basic starting configuration
I'm trying to get an hold on swift. So I decided to use it to perform some treatments on a file.plist i'm interested in.I downloaded xcode, had some tutorial on Apple ios apps, thought it was a good idea to have them stored on an iCloud directory :iCloud Drive/MyAppsEverything went fine.But since I just wanted to experiment with swift, I decided to create a MacOs/Commandlinetool package and play with it.So I have my PlistReader folder created in my MyApp Folder and I am starting to work with my file.plist with itI can't figure how on earth I can get access to this fileif I try to debug my swift codelet stringPath = Bundle.main.path(forResource: "file", ofType: "plist") print(stringPath)returns : "/Users/MyName/Library/Developer/Xcode/DerivedData/PlistReader-caqhxzhblczwvlccnkygmsfmbdae/Build/Products/Debug/fileplist"So it seems Xcode replicates my files in a arbitrary folder, vaguely related to what is defined in its preference file.But not all is there since other test files in subdirectories were not replicated. I'm clearly doing something wrong here but don"t know what.Either in the Build Phases / Copy Files parametersorPreferences /locations ?On top of that all tutorials I found seem broken with swift 5.1 Someone could help me about how to configure xcode to play with swift and access a simple text file ?
6
0
720
Feb ’20