Search results for

“show when run”

115,096 results found

Post

Replies

Boosts

Views

Activity

Basic app intent always showing error in Shortcuts app "The action could not run because an internal error occurred."
I have a very basic App Intent extension in my macOS app that does nothing than accepting two parameters, but running it in Shortcuts always produces the error The action “Compare” could not run because an internal error occurred.. What am I doing wrong? struct CompareIntent: AppIntent { static let title = LocalizedStringResource(intent.compare.title) static let description = IntentDescription(intent.compare.description) static let openAppWhenRun = true @Parameter(title: intent.compare.parameter.original) var original: String @Parameter(title: intent.compare.parameter.modified) var modified: String func perform() async throws -> some IntentResult { return .result() } }
8
0
1.3k
Dec ’24
Toolbar button not showing in Canvas
Hi, I have a toolbar and a share button on the left side. The button isn't showing up on the canvas, but does show when the app is run in the simulator or a device. Is this normal behavior or a bug? This is a test button so please forgive the print statement. Here's the code: { ToolbarItem(placement: .bottomBar) { Button(action: { print (Button Pressed!) } ){ Image(systemName: square.and.arrow.up) } } }
2
0
1.9k
Feb ’21
Run Script runs when building for simulator but not when building for actual hardware
Hello, I have a custom script that builds a library needed for integrating Rust code into a project. The script works just fine when I build for the simulator. But, when I switch the target to an actual device (connected via USB) the script does not run. Here is what I have for the Run Script section: # Type a script or drag a script file from your workspace to insert its path. echo Running script... bash ${PROJECT_DIR}/bin/compile-library.sh shipping-rust-ffi $BUILDVARIANT echo ...completed Here is the relevant portion of the log when building for the simulator showing the script running: Here is the relevant portion of the log when building for hardware showing that phase being skipped: I have looked through all the Build Settings, Build Phases, and Build Rules sections with no luck. What I am doing is just a simple test app based upon this article: https://blog.mozilla.org/data/2022/01/31/this-week-in-glean-building-and-deploying-a-rust-library-on-ios/
2
0
2.2k
Nov ’22
catextlayer doesn't show
Hi all, I'm trying to make an animated button which includes 3 layers where one of them is composed of CATextLayer. the CATextLayer is showing and animating fine on Iphone 11 OS 13.0 but doesn't show at all on iphone 7 OS 11.0. what can be the cause to that?
0
0
280
Nov ’20
unknown warning showing up
ld: warning: dylib (/usr/local/Cellar/gcc/11.2.0/lib/gcc/11/libstdc++.dylib) was built for newer macOS version (11.3) than being linked (11.0) this warning is showing up in the terminal every time I run C++ code in it using g++ compiler. how to get rid of it ? I have tried to reinstall Xcode- command line tools but it doesn't seem to solve the problem.
1
0
820
Nov ’21
Basic app intent always showing error in Shortcuts app "The action could not run because an internal error occurred."
I have a very basic App Intent extension in my macOS app that does nothing than accepting two parameters, but running it in Shortcuts always produces the error The action “Compare” could not run because an internal error occurred.. What am I doing wrong? struct CompareIntent: AppIntent { static let title = LocalizedStringResource(intent.compare.title) static let description = IntentDescription(intent.compare.description) static let openAppWhenRun = true @Parameter(title: intent.compare.parameter.original) var original: String @Parameter(title: intent.compare.parameter.modified) var modified: String func perform() async throws -> some IntentResult { return .result() } }
Replies
8
Boosts
0
Views
1.3k
Activity
Dec ’24
Toolbar button not showing in Canvas
Hi, I have a toolbar and a share button on the left side. The button isn't showing up on the canvas, but does show when the app is run in the simulator or a device. Is this normal behavior or a bug? This is a test button so please forgive the print statement. Here's the code: { ToolbarItem(placement: .bottomBar) { Button(action: { print (Button Pressed!) } ){ Image(systemName: square.and.arrow.up) } } }
Replies
2
Boosts
0
Views
1.9k
Activity
Feb ’21
Showing own custom ads
Hi,I wanted to show/display my own custom ads in my application. I couldn't find a clear information for the same so wanted to ask here.I wanted to show the ads of some marketing companies with which I am working with by designing my own views.Is this is allowed by apple or Apple review team.
Replies
0
Boosts
0
Views
288
Activity
Oct ’16
Reply to Safari Web Extension disappearing on click
When I run 'pluginkit -mAvvv -p com.apple.Safari.extension' in the terminal, my extension does not show up.
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’21
Run Script runs when building for simulator but not when building for actual hardware
Hello, I have a custom script that builds a library needed for integrating Rust code into a project. The script works just fine when I build for the simulator. But, when I switch the target to an actual device (connected via USB) the script does not run. Here is what I have for the Run Script section: # Type a script or drag a script file from your workspace to insert its path. echo Running script... bash ${PROJECT_DIR}/bin/compile-library.sh shipping-rust-ffi $BUILDVARIANT echo ...completed Here is the relevant portion of the log when building for the simulator showing the script running: Here is the relevant portion of the log when building for hardware showing that phase being skipped: I have looked through all the Build Settings, Build Phases, and Build Rules sections with no luck. What I am doing is just a simple test app based upon this article: https://blog.mozilla.org/data/2022/01/31/this-week-in-glean-building-and-deploying-a-rust-library-on-ios/
Replies
2
Boosts
0
Views
2.2k
Activity
Nov ’22
Reply to How to troubleshoot when Safari App Extension not appear in Safari Preferences?
am having same problem with AutoHD extension. not showing up in safari and running that command too.
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to old ver xcode
This page shows the minimum system requirements for running Xcode: https://developer.apple.com/support/xcode/
Replies
Boosts
Views
Activity
Jan ’25
catextlayer doesn't show
Hi all, I'm trying to make an animated button which includes 3 layers where one of them is composed of CATextLayer. the CATextLayer is showing and animating fine on Iphone 11 OS 13.0 but doesn't show at all on iphone 7 OS 11.0. what can be the cause to that?
Replies
0
Boosts
0
Views
280
Activity
Nov ’20
xcode simulator doesn't show anything (just blank)
Hi, I' running the FoodTracker tutorial and I'm having a problem on the step 0...I run the iPhone simulator and it doesn't show FoodTracker on the screen. It's just blank...Can anyone help me with it with?
Replies
4
Boosts
0
Views
1.7k
Activity
Oct ’16
Badges for App Store not showing
I’m currently running iOS 13 beta 8 on my iPhone X and not badges are showing when I have apps to update. This has not been working since beta 7. I’ve opened a feedback issue for this.
Replies
0
Boosts
0
Views
703
Activity
Aug ’19
Reply to Download link for 10.12.1 Beta (16B2553a) ??
You can't run the packages individually in sierra, but you can run them from another partition with el capitan - as per instructions in the other thread.This method does not require it to show up in the mac app store.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’16
unknown warning showing up
ld: warning: dylib (/usr/local/Cellar/gcc/11.2.0/lib/gcc/11/libstdc++.dylib) was built for newer macOS version (11.3) than being linked (11.0) this warning is showing up in the terminal every time I run C++ code in it using g++ compiler. how to get rid of it ? I have tried to reinstall Xcode- command line tools but it doesn't seem to solve the problem.
Replies
1
Boosts
0
Views
820
Activity
Nov ’21
How do I show topographic maps?
I installed the developer beta. I don't see how to show topographic maps.
Replies
1
Boosts
0
Views
496
Activity
Jun ’24
Reply to How to save plist data to CoreData
Coulkd you show all the print you get when you run ?Notably to see if you return at line 08.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
May ’20
Reply to Animation only works with deprecated modifier
Can you show enough code to run and test? Hard to say something with just fragments of code.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’21