Search results for

“show when run”

115,095 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
Reply to iOS 14 iPhone folders disappearing
i am having the same issue. The folder vanished as well as all the icons for the app. They dont show up anywhere. however if i do the search bar and type in the name of the app... it appears in the search and i can run it. The apps also show up in the appropriate areas of the setup interface such as under notifications Obviously the app is still loaded and still runs. But only from the find/search feature first
Topic: App & System Services SubTopic: Hardware Tags:
Feb ’21
Reply to [iOS simulator] : nw_connection_send getting error "nw_write_request_report [C1] Send failed with error "Permission denied""
but running in iOS simulator, it did't show to ask the local network permission. Right, the simulator will not show the local network permission prompt, as it is technically running on the network stack from the macOS machine. As to what is happening in your title, you mentioned that you were doing local network discovery. Can you share any more code or information on what you are doing here? Matt Eaton DTS Engineering, CoreOS meaton3@apple.com
Mar ’21
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
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
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 iOS26中ALAssetsLibrary 编译报错问题
Right click on the error -> Show in Finder -> Delete AssetsLibrary file -> Build and Run successfully
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’25
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
Reply to iOS 14 iPhone folders disappearing
i am having the same issue. The folder vanished as well as all the icons for the app. They dont show up anywhere. however if i do the search bar and type in the name of the app... it appears in the search and i can run it. The apps also show up in the appropriate areas of the setup interface such as under notifications Obviously the app is still loaded and still runs. But only from the find/search feature first
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Feb ’21
Reply to [iOS simulator] : nw_connection_send getting error "nw_write_request_report [C1] Send failed with error "Permission denied""
but running in iOS simulator, it did't show to ask the local network permission. Right, the simulator will not show the local network permission prompt, as it is technically running on the network stack from the macOS machine. As to what is happening in your title, you mentioned that you were doing local network discovery. Can you share any more code or information on what you are doing here? Matt Eaton DTS Engineering, CoreOS meaton3@apple.com
Replies
Boosts
Views
Activity
Mar ’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
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