Post

Replies

Boosts

Views

Activity

Reply to Am having troubles with xcode implementing deprecated method
UIAlertView itself is deprecated. Instead, use a UIAlertController, and add an action for the button(s). Perhaps something like: let alertController = UIAlertController(title: "Title", message: "Message", preferredStyle: .alert) alertController.addAction(UIAlertAction(title: "Some action", style: .default) { (action: UIAlertAction) - Void in // Code for button action... }) alertController.addAction(UIAlertAction(title: "OK", style: .default, handler: nil))
Feb ’21
Reply to Getting this message after successfully uploaded the app in the TestFlight "Export Compliance Information Does your app use encryption? Select Yes even if your app only uses the standard encryption within Apple's operating system"
You just need to tell it "No". In future, you can avoid this warning, by adding the relevant key to your Info.plist. Depending on how you prefer to view your plist... Info.plist viewed as Source Code: keyITSAppUsesNonExemptEncryption/key   false/ or Info.plist viewed as Property List: App Uses Non-Exempt Encription: NO
Mar ’21
Reply to Add a new team for Xcode signing
Xcode Preferences... Accounts ...should show all Teams, of which you are a member, using the Apple ID of your dev account. Check that you are using the same Apple ID for all Teams. 2. App Store Connect ...should show a drop-down (at the top right), listing all Teams of which you are a member, using the Apple ID you signed in with. Check that this list includes all expected Teams. 3. Apple Developer ...should show a drop-down (at the top right), listing all Teams of which you are a member, using the Apple ID you signed in with. Check that this list includes all expected Teams. === Post back here with further information...
Mar ’21
Reply to Getting this message after successfully uploaded the app in the TestFlight "Export Compliance Information Does your app use encryption? Select Yes even if your app only uses the standard encryption within Apple's operating system"
It doesn't matter what technology you are using... flutter or whatever, the question relates to how your app uses encyption. Apple say: "Typically, the use of encryption that’s built into the operating system—for example, when your app makes HTTPS connections using URLSession—is exempt from export documentation upload requirements, whereas the use of proprietary encryption is not." For a more detailed answer, you can determine if your use of encryption is considered exempt here: https://help.apple.com/app-store-connect/#/dev63c95e436
Mar ’21
Reply to Can I make my app fully dark?
You choose the colors that your app uses, in both Light and Dark modes. Use whatever colors you want, in each mode. Having said that, if your app looks very different to other apps, that could make it look "distinctive, or "awful", depending on your point of view!
Topic: Programming Languages SubTopic: Swift Tags:
Mar ’21
Reply to Why do I get a SIGTRAP Exception when opening CarPlay App in real car
Yes. In my app's entitlements I have added com.apple.developer.playable-content (MediaPlayer framework). No. This is not enough! You have to literally contact Apple, and ask them for a special CarPlay app Entitlement. From the CarPlay App Programming Guide To request a CarPlay app entitlement, go to http://developer.apple.com/carplay and provide information about your app, including the CarPlay app category. You must also agree to the CarPlay Entitlement Addendum. Apple will review your request. If your app meets the criteria for a CarPlay app, Apple will create a CarPlay app entitlement and notify you.
Topic: Programming Languages SubTopic: Swift Tags:
Mar ’21
Reply to Cannot remove SDK Location of Apple
It sounds like you may not have installed Xcode's Command Line Tools. These are not automatically installed with Xcode, you have to do a download from Apple Dev: https://developer.apple.com/download/more/ (Make sure you get the Tools for the correct version of Xcode!) In Terminal, you can check the location of the Command Line Tools (if installed) with: xcode-select -p
Mar ’21
Reply to Remove arrow in macOS popover using SwiftUI
A popover without an arrow is possible in UIKit, but not in SwiftUI. You are using: func popoverContent( isPresented: BindingBool, attachmentAnchor: PopoverAttachmentAnchor = .rect(.bounds), arrowEdge: Edge = .top, content: @escaping () - Content ) - some View where Content : View ...which is all that SwiftUI provides. There is no option to hide/remove the arrow, and the "attachmentAnchor" and "arrowEdge" parameters cannot be used to achieve this. You could investigate wrapping a UIKit solution in a SwiftUI representable view.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Mar ’21