Posts

Post not yet marked as solved
6 Replies
3.1k Views
I have the Silicon Kit Mac mini and I am trying to run the IPA file for my iOS app on the Mac. I added the Mac to the provisioning profile and built the app on another computer. When I try to open the generated .ipa file on the silicon Mac I get the following error: Unable to install "[my app's name]" This app cannot be installed because its integrity could not be verified. I am using macOS Big Sur Version 11 Beta with the Apple A12Z chip.
Posted
by samjohn.
Last updated
.
Post marked as solved
1 Replies
8.9k Views
In Swift 4.2 I'd expect the following code to change "tetrisX" to "TetrisX"let range = 0..<1 "testrisX".replacingCharacters(in: range, with: "T")but it fails to compile with the following error:generic parameter 'T' could not be inferredthe method signature came from the autocomplete in Xcode 10.Here's the documentation for the method:https://developer.apple.com/documentation/foundation/nsstring/1410029-replacingcharactersIts signature uses NSRange instead of Range and String instead of StringProtocol.let range = NSMakeRange(0, 1) "testrisX".replacingCharacters(in: range, with: "T")However, the following code also gives an error:argument type 'NSRange' (aka '_NSRange') does not conform to expected type 'RangeExpression'"testrisX".replacingCharacters(in: range, with: "T")
Posted
by samjohn.
Last updated
.
Post marked as solved
3 Replies
1.5k Views
In swift 4.2 I am trying to write the following code:let regex = NSRegularExpression( pattern: "\w[A-Z]", options: NSRegularExpression.Options.allowCommentsAndWhitespace )This initializer shows up in the autocomplete, but when I try to build, I get the following 2 errors:- Incorrect argument label in call (have 'options:', expected 'coder:')- Invalid escape sequence in literalIt seems like a bug, but I could also be doing something wrong!
Posted
by samjohn.
Last updated
.
Post not yet marked as solved
0 Replies
870 Views
I implemented ClassKit for my app and the schoolwork integration works when I build directly from Xcode. When I build for release or Ad Hoc distribution, however, no activities show up in schoolwork. I logged the errors to our analytics tool and it looks like I am getting "Save failed!" when I try to create a context.I tried changing to the ad hoc and release configurations in the debug build and schoolwork was able to recognize the activities in each of them.I have a testflight version of Schoolwork installed on my device and could not find another version in the app store. Is there something about it still being a beta app that would cause this? Does anyone else have this issue? Thanks!Sam
Posted
by samjohn.
Last updated
.