Search results for

show when run

112,670 results found

Post

Replies

Boosts

Views

Activity

Sheet view not showing on devices running below iOS 16 beta
I have shared my app via testflight with a couple of friends, trying to test out some new sheet views. I have Xcode 14 installed and on my iOS 16 beta iPhone it works fine. On all other iPhone (using iOS 15) the sheet views are simply not showing up. Any ideas why? I'm trying to figure out if its beta related (bug) or something I'm missing. Here the code: @State private var showSheet: Bool = true .... MainView() .sheet(isPresented: $showSheet, content: { VStack { Text(Willkommen!) .font(.largeTitle) Text(Lass uns gemeinsam diese Insel entdecken) .foregroundColor(.secondary) VideoPlayer(player: AVPlayer(url: Bundle.main.url(forResource: video, withExtension: mp4)!)) .frame(height: 220) } })
0
0
595
Jun ’22
Xcode shows alert about unknown com.apple.quicklook.preview extension point when running on Apple Vision Pro Simulator
I have an iOS app with a QuickLook extension. I also added Apple Vision Pro in the target's General > Supported Destinations section. About one year ago, I was able to run the app on iPhone, iPad and Apple Vision Pro Simulators. Today I tried running it again on Apple Vision Pro with Xcode 26.0.1, but Xcode shows this error: Try again later. Appex bundle at ~/Library/Developer/CoreSimulator/Devices/F6B3CCA8-82FA-485F-A306-CF85FF589096/data/Library/Caches/com.apple.mobile.installd.staging/temp.PWLT59/extracted/problem.app/PlugIns/problemQuickLook.appex with id org.example.problem.problemQuickLook specifies a value (com.apple.quicklook.preview) for the NSExtensionPointIdentifier key in the NSExtension dictionary in its Info.plist that does not correspond to a known extension point. I tried again later a couple times, even after running Clean Build Folder Immediately, without any change. I can reproduce this with a fresh Xcode project to which I add a Quick Look Preview Ext
5
0
274
Sep ’25
I tried to run gcc compiler in macOs monterey, but it shows invalid active developer path error. How can I resolve this ?
I have just updated my MacBook big Sur to Monterey. But after updating, whenever I tried to run GCC in the terminal it shows an invalid active developer path error. I am an absolute beginner, and can't resolve this error. Please help me to resolve this error. Log: gcc --version xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
1
0
2.6k
Nov ’21
adding new in-app purchase token to app not showing up in devel run
okay, the status: existing app, added new in-app purchase feature, (app previously had in-app features), regenerated the devel provis profile and built with it, logged out of itunes on the device, logged in to the in-app store using a fresh test account in the app (sandbox)the old in-app purchase tokens showed up in my debug code, but not the new onedo new in-app tokens need to be approved by apple first before developing with them?
1
0
483
Dec ’16
Reply to App error with Testfligt
It sounds like you're not testing the release build on the device — please see the section of the App Testing Guide that covers this. Regular debug builds you create by hitting the Run button in Xcode are different than Release builds. Since you're seeing the difference only through TestFlight, that's generally an indicator you're not testing the same build, and why I highlighted the App Testing Guide. As an example of why this can differ, we had a demo a few years ago at WWDC - https://developer.apple.com/videos/play/wwdc2015/413/?time=614 that showed a running route incorrectly going through the water of San Francisco Bay, but only sometimes, even though the point data was correct. Beyond following through on those suggestions, plus the ones in the linked video, you should break the problem down into a small Xcode project that still reproduces the problem. Frequently, you can figure out the issue by narrowing the code paths in use and focusing in on the relevant code like this.
Aug ’20
Reply to Change the default simulator on Xcode 12.5
Here is the solution on XCode Version 14.3.1. Go to Product->Destination->Manage Run Destinations... From this page you can customise 'Show run destination' section. Just change the ones you don't want to simulate at as 'never' and change the preferable one as 'always'. For your case, under the device section find your phone (it is already selected), change Show run destination as never and go to simulators find your desirable model and change its show run destination as always.
Sep ’23
Reply to allowsMultipleSelection not working via SwiftUI
@marlonjames Thanks for showing your code. I did not expect setting delegate would change the behavior. May I ask you one question? When I test your code in iPad simulator from Xcode 12 while the simulator is not running, your code works as expected and the picker show Select. But if I run the testing app while the simulator is running, the picker does not show Select. Do you think this is just a problem of simulator?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’20
Reply to Store Location from API into Array
Yes, that worked! But the array only shows it be populated after I run the function twice. Like, the first go through will print out two empty arrays and then when I tap the button to run the function again the array shows populated. When the print statement is within the do brackets, it shows it is filled, but once its after the task.resume(), it will only show a populated array after the second execution
Topic: Programming Languages SubTopic: Swift Tags:
Jan ’21
Reply to BLE Cycling Power Service for Watch Workout
Hi, Yes it is like this. If i run the Bluetooth Service on the paired phone it does not show up as Health Device. So condition is running the app with BLE Cycling Power Service 1.1 on paired Phone -> Do NOT show up as Health Device on Watch Running App with BLE Cycling Power Service 1.1 on any other iOS Device -> DO show up as Health Device. Thanks
Sep ’23
App goes into background spontaneously on launch leaving launch image showing
When I run my app from XCode debugger, it will occassionally freeze on the launch screen. Presssing home button has no effect. Double-press on home button will show the running apps as expected and fixes the problem: the launch image will be replaced with my UI in that background view and bringing it back to foreground works fine. Watching the log, I can see that my app responds to applicationWillResignActive shortly after launch, and goes into the background, as if user had pressed home button. I can't see anything the device log that would explain it, although I don't really know what to look for. Any suggestions? I wonder, is it an issue interacting with the XCode debugger, and possibly nothing to worry about for deployed app? I have seen this only on an iPad, running iOS 10.2. The iPad is new, but I also made a lot of recent changes to code, so not sure of the relation.
1
0
1.2k
Feb ’17