Xcode 8 “The application does not have a valid signature”
It looks like an Xcode 8 bug. Cleaning the project by pressing Command+Shift+K or Product -> Clean fixes it.
It looks like an Xcode 8 bug. Cleaning the project by pressing Command+Shift+K or Product -> Clean fixes it.
You can avoid both the update to Xcode 8.3 (which works only with macOS Sierra) and the Dropbox download from a random link on GitHub, as suggested in other answers. To work with iOS 10.3 in Xcode 8.2.1, follow these steps: Exit Xcode 8.2.1 Download Xcode8.3.3.xip from Apple (https://developer.apple.com/services-account/download?path=/Developer_Tools/Xcode_8.3.3/Xcode8.3.3.xip) (requires sign-in) Unzip ~/Downloads/Xcode8.3.3.xip (in Finder, … Read more
I had this issue, where it would run it every time I deleted the app from the simulator, but when I tried to run it second time this error would show. I solved it by resetting the iOS Simulator from the top bar menu. Xcode 9.0: Hardware → Erase All Content and Settings… Pre Xcode … Read more
Use write(to: fileURL). For example: let fileURL = try! FileManager.default .url(for: .documentDirectory, in: .userDomainMask, appropriateFor: nil, create: false) .appendingPathComponent(“test.jpg”) do { try jpegData.write(to: fileURL, options: .atomic) } catch { print(error) } Or, if you really are stuck with a path, convert that to a URL: do { try data.write(to: URL(fileURLWithPath: path), options: .atomic) } catch … Read more
The .xip file format contains an archive (xar containing a gzip archive and metadata) and a signature of the archive. The signature is important, since previously Xcode downloads have been altered (eg. XcodeGhost) to inject malicious code into apps. Therefore, approaches like skipping the verification (xattr -d com.apple.quarantine Xcode_8_beta.xip) seems irresponsible. I strongly encourage you … Read more
Found this link which suggested that “The global constant was moved into a static property, and the Swift 3 migrator, as you’ve discovered, failed to correct for that. ” and that you can simply change the code to : toView.transform = CGAffineTransform.identity EDIT or even simpler: toView.transform = .identity
Here the solution for the issue. Create a new header file and name it like “your project name-Bridging-Header.h“. The file must be saved to your project folder Select your xcode project -> select your build target -> select build settings -> click the “all” option at the top -> search for Swift Compiler – General … Read more
I had the same problem with Xcode 8.2 while submitting my application: ITunesSoftwareServiceAuthenticationErrorDomain error 434. Solution: I switched to different network and it worked for me.
Update 2017/02/13 User interface for managing signing certificates and provisioning profiles has been changed at Xcode 8.3 beta 2. Changed the user interface for managing signing certificates and provisioning profiles. Certificates are managed from the Accounts preferences pane by selecting a team and clicking Manage Certificates. Automatically managing signing is recommended, however if your app … Read more
In iOS 10, preferredStatusBarStyle is a property, not a method. So instead of overriding it with a func declaration as you’ve done, you override the getter with a var declaration: override var preferredStatusBarStyle: UIStatusBarStyle { return .lightContent } The Swift compiler’s error message here could probably be better — since it seems to know your … Read more