Search results for

Xcode

92,311 results found

Post

Replies

Boosts

Views

Activity

Reply to How to create a dylib for iOS project?
[quote='808473021, raunits, /thread/808473, /profile/raunits'] we need to wrap them in a framework [/quote] Right. And there’s no built-in support for that. There are a couple of paths you might take here: Wrap it yourself. Use a mergeable library. The first option is obvious, but surprisingly tricky. You have to manually create a .framework wrapper around your dynamic library. The tricky part [1] is in crafting the correct Info.plist. I generally recommend that you create a test framework using Xcode and then crib the on-disk structure from that. Alternatively, you could update the build process for that “independent codebase” to create a mergeable library. You can then create a framework within your own app and merge that mergeable library into it. IMPORTANT Do this for each of the platforms you support, and remember that the device and the simulator are different platforms. Your best option here is to do it separately for each platform, and then merge it all together into one XCFramework. Finally,
2w
Reply to Issue with iOS group entitlements being recognized
You definitely want to use automatic code signing for this stuff (-: Try this: In Signing & Capabilities, enable automatic code signing on both targets. Then remove the App Groups capability from each target. Select a real device as a run destination and choose Product > Build. I’d expect that to work (-: Back in Signing & Capabilities, add the App Groups capability to the app target. And enable the relevant group from the list shown by that capability. Try building again. Repeat steps 4 through 6 for the widget target. How far do you get? And if things fail, what error do you see? Also, what version of Xcode are you using? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
2w
Reply to Is there a way for two users to make development builds on separate accounts for one app?
Try this: Using Xcode, create a new project from one of the iOS > App template. During the creation process, select your team, that is, the team that the app was transferred to. And enter the bundled ID of that transferred app. Build that for the device (so not the simulator). Does that work? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
2w
Reply to Archive Fails: Conflict with Existing KEXT Developer ID Certificate
I’m glad to hear you get this sorted out. And thanks for posting your solution. [quote='867546022, charles.cc, /thread/807467?answerId=867546022#867546022, /profile/charles.cc'] Do not attempt to configure the Distribution Profile directly in Xcode’s Target settings [/quote] Right. [quote='867546022, charles.cc, /thread/807467?answerId=867546022#867546022, /profile/charles.cc'] only swap in the Distribution Certificates (Manual) during the Organizer Distribution phase. [/quote] Right. When using the Xcode organiser’s distribution workflows, you want the Xcode archive to be Development signed. Anything else is pointless — because when you distribute from the organiser it’s going to overwrite the signature — and a potential source of confusion. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
2w
UISplitViewController.showDetailViewController() not working in iPhone version.
Since updating to Tahoe and Xcode 26 I have found that the UISplitViewController.showDetailViewController() is not working in the iPhone version of my app (it is a universal app). I'm just trying to show a detail view after a tap on a UITableView item. The iPad versions are all working correctly. Has anyone else experienced this or have any advice about what may have changed? Thanks in advance.
1
0
153
2w
Title: Push notifications not working on iOS – aps-environment missing in signed app with manual Codemagic signing
Hi everyone, I’m having trouble getting remote push notifications working on iOS for a production Flutter app, and it looks like it’s related to the provisioning profile / entitlements used during signing. Context Platform: Flutter Push provider: OneSignal (backend is Supabase; Android push works fine) CI: Codemagic Target: iOS TestFlight / App Store builds I’m on Windows, so I cannot open Xcode locally. All iOS builds happen via Codemagic. Capabilities / entitlements In the Apple Developer portal, my App ID for com.zachspizza.app has: Push Notifications capability enabled A separate Broadcast capability is listed but currently not checked. In my repo, ios/Runner/Runner.entitlements contains: xml aps-environment production So the project is clearly requesting the push entitlement. Codemagic signing setup For my App Store workflow (ios_appstore_release in codemagic.yaml ): I use a combination of manual and automatic signing: Environment variables can provide: P12_BASE64 + P12_PASSWORD (distribution ce
1
0
156
2w
Why is SimulatorTrampoline taking TONS of memory?
This is a M4 iMac 32GB 2TB where over the last few months memory use has been crazy. The worst offender is SimulatorTrampoline. I just opened a default iOS app and ran it in a simulator. So this is as simple as it gets: there's 1 SF Symbol and Hello, world! text. iStatMenus shows SimulatorTrampoline at 10.7GB, Safari 5.2GB, Xcode at 3.2GB, and swap at 548MB meanwhile ActivityMonitor shows the top memory use of Ildb-rpc-server at 2.30GB, Xcode at 523.4MB Swap is 548MB is the only number that matches and the fact that Memory used is ~26GB total. Is this amount of memory use normal? Is iStat menu reporting something different than Activity monitor. This computer used to never swap. Any suggestions?
1
0
78
3w
App Store Connect - Multiple uploads stuck at 'Processing'
Nine days ago an upload to App Store Connect got stuck at the 'Processing' state. Subsequent build uploads whether for 'TestFlight Internal Only' or 'App Store Connect' stick just the same. I'm tearing my hair out - what little remains - as I can't do any uploads... I raised a support ticket with Apple eight days ago, they responded two days later asking for a screen-shot which was provided by return but I've heard nothing since. Uploads are all from XCode 26.1.1. XCode Organizer, 'Direct Distribution' and 'Validate App' work ok but I need to be using the App Store for this App... It's my understanding that if I remove the App from the App Store and then try to create a new App with the same Bundle ID that will fail as Apple specify the following warning prior to removing an App. WARNING: If you remove an app, you’ll lose ownership of the app name. Removed apps can only be restored if the name isn’t currently in use by another developer account. In addition, the SKU can’t be reused in the sa
1
0
207
3w
How can I show a movable webcam preview above all windows in macOS without activating the app
I'm building a macOS app using SwiftUI, and I want to create a draggable floating webcam preview window Right now, I have something like this: import SwiftUI import AVFoundation struct WebcamPreviewView: View { let captureSession: AVCaptureSession? var body: some View { ZStack { if let session = captureSession { CameraPreviewLayer(session: session) .clipShape(RoundedRectangle(cornerRadius: 50)) .overlay( RoundedRectangle(cornerRadius: 50) .strokeBorder(Color.white.opacity(0.2), lineWidth: 2) ) } else { VStack(spacing: 8) { Image(systemName: video.slash.fill) .font(.system(size: 40)) .foregroundColor(.white.opacity(0.6)) Text(No Camera) .font(.caption) .foregroundColor(.white.opacity(0.6)) } } } .shadow(color: .black.opacity(0.3), radius: 10, x: 0, y: 5) } } struct CameraPreviewLayer: NSViewRepresentable { let session: AVCaptureSession func makeNSView(context: Context) -> NSView { let view = NSView() view.wantsLayer = true let previewLayer = AVCaptureVideoPreviewLayer(session: session) previewLayer
0
0
328
3w