Search results for

show when run

112,800 results found

Post

Replies

Boosts

Views

Activity

Reply to Basic app intent always showing error in Shortcuts app "The action could not run because an internal error occurred."
Since when is it sufficient to add a declaration in code which is then automatically available outside of the app? Is the app intent's perform() code still running within the app? I think you're asking these questions from my prior statement: The purpose of the extension point is for intents that you expect to complete without a full app launch When I say full app launch there, what I actually mean is a foreground app launch that is visible to the user. An intent extension allows your code to run in the background, where your app may not have any UI to show, or only show a small piece of UI to show a result or provide status. These extensions run as dedicated process for your extension point, and are much lighter weight than the main app's process. (This is broadly true for the entire set of extension points available on the system, this is not specific to App Intents extensions.) That means your code is still running in your app, as the intent ex
Topic: App & System Services SubTopic: General Tags:
Jan ’25
Running c++ in terminal
Hi. I'm pretty new to coding and i have used CodeBlocks for some time. Recently I started using Xcode and there is one feature I really miss. When I run my code in CodeBlocks, it automatically opens terminal window and runs code there. In Xcode i can only see my output bellow the code, and if there are many lines it has to write, the console becomes really choppy and laggy. Is there a way could make that when i run my c++ code, it automatically runs in a new terminal window? (if it's not possible maybe there is a way to make console in Xcode run smoother when running the code)
1
0
874
Dec ’20
Run Script
I can't able to copy the folder files to another folder through runscript.I am getting error as no such file or directory.I have used below script in run script.rm -rf “$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Data”cp -Rf “$PROJECT_DIR/Heart3Ds_NoAR/Data” “$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Data”
4
0
8.2k
Oct ’15
Leaks in Instruments showing massive # of leaks Xcode 8.3.2
On Xcode 8.3.2, I see lots of leaks when running my mac app, which previously showed no leaks in an older version.Calls to things like addSubview:, basic API use are showing leaks everywhere. I hope these are false positives. Even if they are not, there's nothing I can do about these, but it does make for tracking down leaks I can do something about harder.
4
0
1.6k
Apr ’17
Showing text in a ForEach
I would like to show paragraphs of text in a ForEach. This was my latest attempt: struct ContentView: View { let bodyText = This is a sample body text that will wrap naturally within the bounds of the container. var body: some View { WordWrapView(words: identifyWords(words: bodyText)) .padding() } func identifyWords(words: String) -> [IdentifiedWord] { let wordsArray = words.split(separator: ).map { String($0) } var idCounter = 1 return wordsArray.reversed().map { word in let identifiedWord = IdentifiedWord(id: String(idCounter), word: word) idCounter += 1 return identifiedWord } } } struct IdentifiedWord: Identifiable { let id: String let word: String } struct WordWrapView: View { let words: [IdentifiedWord] var body: some View { GeometryReader { geometry in self.createWrappedWords(in: geometry.size) } } func createWrappedWords(in size: CGSize) -> some View { var width: CGFloat = 0 var height: CGFloat = 0 return ZStack(alignment: .topLeading) { ForEach(words) { word in self.wordView(for: word
Topic: UI Frameworks SubTopic: SwiftUI
1
0
547
Jun ’24
Running FxPlug Examples
Hi there,I'm just starting developing with the FxPlug SDK. I've tried testing the built in examples and encountered some problems. For simplicity I'll discuss the FxBrightness example. I've modified the uuid's in info.plist, changing the 2 group uuid's to a new uuid and the plugin uuid to a separate uuid.I've then built it using:xcodebuild -project FxBrightnessApp.xcodeproj/ -alltargetsThen run the resulting app. The plugin service then shows up in pluginkit -m so i know it's registered with the system and can see from the console log that the service is being made available to the final cut pro process however it does not show up in the list of available filters.Have I missed something? I've been through the SDK overview, in particular this page, to quote:Complete FxPlug plug-in examples are included in the FxPlug SDK.Note: To avoid plug-in conflicts, you must edit the UUID entries in the Info.plist file. You can create unique UUIDs by issuing the uuidgen command in the Terminal ap
Topic: UI Frameworks SubTopic: AppKit Tags:
3
0
1.2k
Jan ’16
Signed app wont run
HiToday I signed an app, so people who use my app, wont get a pop-up about an unidentified developer.The app used to run without any problems, if you just press'ed run anyway, when the pop-up show. But now that I have signed the app, it wont run at all. The icon just keep bouncing and then after some time say that the application wont respond.I have developed the app in Qt and have used this to sign the applicatio:codesign --force --verify --verbose --sign My Developer ID ./MyApp.appfind MyApp.app -name *.dylib | xargs -I $ codesign --force --verify --verbose --sign My Developer ID $find MyApp.app -name Qt* -type f | xargs -I $ codesign --force --verify --verbose --sign My Developer ID $*I have changed the Developer Id and the AppNameThe App is a Mac app that should be able to download from the internet and not from App Store.Hope someone can help me.Thanks in advance.
9
0
3.5k
Mar ’17
Topshelf TVTopShelfCarouselItem title not showing
I would like for the topshelf TVTopShelfCarouselItem title and context title to show up when the topshelf shows up. Currently they are showing only after the user swipes up and then taps on the remote which shows all the UI, including the play button and more info button. Not showing the title results in the topshelf only showing an image (of a movie for example), and the user has no way of seeing the title until they interact with the UI. In Apple's TV app, the title is showing, in custom font, as soon as the topshelf is visible, while the app tray is still present. This is clearly a better user experience. Is there a way to do this or is this feature available only to Apple apps?
0
0
644
Dec ’20
Why are breakpoints in Xcode not showing source code now?
I have recently started to experience the debugger not stopping at breakpoints and showing source files. Instead it shows the assembly instructions and it seems to have started happening for others on my team. I thought maybe it was a setting somewhere in our projects so I created a new project with unit tests and even it does not work normally. The only recent change has been to do debugging with iOS 14 while using Xcode 11.3 due to still having some projects using Swift 4. We've copied the Device Support from the latest version of Xcode to run the app on the device. I have also tried debugging with an iPhone 6s running iOS 12 and also with the Simulator while running unit tests. In every case on this Mac I am not able to get source files to be displayed when the debugger stops at a breakpoint. And I have also tried running test unit tests for this project with Xcode 11.5. It also does not work. What could be preventing it from working?
1
0
8.6k
Sep ’20
App randomly showing on apple store
Hi, Our app successfully passed Apple verification steps and started to show on the Apple store Friday. All day friday the app showed and I can see from the ananlytics there was 62 download but then since Saturday the app randomly show on the apple store and no downloads. if I type videoelephant tv which is our app sometime it shows as normal while other times it doesn't or show other apps first in the results... This is most bizarre and seems to be an issue on Apple side. Has any of you experienced the same issue? I have logged a support case with Apple but no news so far. Any help appreciated.
1
0
183
Sep ’20