Posts

Post not yet marked as solved
1 Replies
465 Views
Been having trouble with this update. It's 1.6G to download but needed 50G to not fail because of a download error. Now I'm getting an alert saying I need to reboot into safe mode an enable system extensions. That step worries me for a bunch of reasons. Should I need to modify my security settings for an incremental update? This is something I've never had to do before, btw.
Posted
by endres.
Last updated
.
Post not yet marked as solved
2 Replies
625 Views
ITMS-90334: Invalid Code Signature Identifier - The identifier 'bundle id followed by 30 random characters' in your code signature for 'bundle id' must match its Bundle Identifier 'bundle id' Currently, any app I’ve tried is getting this error when submitting from the app. I’ve got all the places where you put the name, the sku, and bundle id set with the same value (copy/paste), and I’ve tried different variations, but now that long string of random characters is appended and I can’t use TestFlight. Maybe because this is a beta iPad OS? Been on a beta for what seems like forever. It’s worked in the past. Great. Totally innocuous post that has something that is not permitted. Be nice if you TELL me what’s NOT PERMITTED!
Posted
by endres.
Last updated
.
Post not yet marked as solved
8 Replies
2.7k Views
Can't get a server bot to clone any repository in GitHub or Bitbucket. It seems like it needs access to credentials that are there when the bots are setup but have not made it into the server's user or something. Almost as if I need to setup .ssh for whatever user runs the bots? Points I can think of: Xcode 13 I've tried public and private repos local accounts have access just fine, just not the one the bot runs on. Accounts in Xcode on both the machines are setup, but that's not the xcodeserver user. I've had this working before before these services forced you to personal access tokens. For the integration user I've tried accounts that have full access to these repositories. As a test I added a post integration trigger to try to clone it manually. That works fine.
Posted
by endres.
Last updated
.
Post not yet marked as solved
2 Replies
1.1k Views
I think I'm not getting it. How do you copy the code? I can't select more than one line, and when I copy that line I can't past it into Xcode. If I right click on the whole block and choose copy, I can't paste that anywhere either. I managed to select the ColorsContentView struct, and I copied it. Here's what I was finally able to get: https://developer.apple.com/wwdc21/10176 i.e., not the code.
Posted
by endres.
Last updated
.
Post not yet marked as solved
1 Replies
2.5k Views
Basically I've tried to wrap it using UIViewControllerRepresentable, and in doing that I have to specify what to share in the makeUIViewController method, which is called only once the first time the entire view is rendered. After that only calls to updateUIViewController are provided, and there is no way to update the data in the UIActivityViewController.Here's how I wrapped it:struct SwiftUIActivityView: UIViewControllerRepresentable, Identifiable { var id = UUID() @Binding var text: String func makeUIViewController(context: Context) -> UIActivityViewController { print("*** makeUIViewController: \(id) ***") let result = UIActivityViewController(activityItems: [text], applicationActivities: nil) result.completionWithItemsHandler = { (activityType, completed, returnedItems, error) in if completed { print("*** completed ***") } else { print("*** not completed ***") } } return result } func updateUIViewController(_ uiViewController: UIActivityViewController, context: Context) { } }Here's how I used it (in a sheet). This method tried to force a reallocation of my wrapper everytime in hopes that would flesh things out, but it didn't. The code:struct WrappedUIActivityView: View { @State private var message = "a message" @State private var sheetToShow: SwiftUIActivityView? var body: some View { VStack { TextField("what to share", text: $message) Button("Share") { self.sheetToShow = SwiftUIActivityView(text: self.$message) } Spacer() } .padding() .sheet(item: $sheetToShow) { something in self.sheetToShow } } }Using UIActivityItemSource (god I wish that pasting in this field didn't move the cursor to the top left) or UIActivityItemProvider makes no difference. If anything, they are worse since the placeholders don't show.The only thing that works is to put all this in a NavigationView, get the view above pushed on the stack, then hitting the back button and tapping again. That gets another one time use of the sheet.This is using Xcode labled as beta 7 on the developer portal but that shows beta 6 in its about box -- 11M392rBreaks the major feature in the dirt simple app I was converting over if it can't share. :-(
Posted
by endres.
Last updated
.