Post

Replies

Boosts

Views

Activity

code coverage broken 0% since Xcode 16.2
Hi, moving from Xcode 16.1 to 16.2, the code coverage percentage is still 0. The project is quite old, but it worked with 16.1. What I tried: converted the old tests to test plans in the settings, including all the various targets (for internal functionality contained in frameworks, each framework has its own test target). added the various code coverage flags to YES. added test hosts to the main targets. played with various settings found in dozens of guides. But nothing. The main app shows 0% coverage, even though the internal frameworks have their own coverage and the files within the main app are tested. On Xcode 16.1, the % appears, but from 16.2 onwards, it doesn't. Also tried with Xcode 26. Any ideas? Thanks
0
2
190
Jul ’25
Guideline 5.1.1 - Legal - Privacy - Data Collection and Storage
Hi, I have an issue with App submission. My flow is: show third party cookie consent banner (is an external SDK) show ATT Apple with this message "Allowing tracking will enable more personalized ads for you." Apple says this: You collect data to track after the user selects "Ask App Not to Track" on the App Tracking Transparency permission request. Specifically, we noticed the app accesses web content you own and collects cookies for tracking after the user asked you not to track them. Next Steps To resolve this issue, please revise the app so that you do not collect data for tracking purposes if the user does not give permission for tracking. Alternatively, if you do not collect cookies for tracking purposes, revise the cookie prompts that appear in the app to clarify you do not track users. in the rejection they put the ATT alert and the third party banner as the screen Do you have any input on this as Apple never says things clearly about what the problem is. Thank you
3
0
1.5k
Jun ’24
ITMS-90863: Macs with Apple silicon support issue - The app uses symbols that aren’t present in macOS
Hi all, I got this error from test flight /System/Library/Frameworks/_PassKit_SwiftUI.framework/_PassKit_SwiftUI _$s16_PassKit_SwiftUI03AddA14ToWalletButtonVAA0cD09EmptyViewVRszrlE6actionACyAFGyyc_tcfC _$s16_PassKit_SwiftUI03AddA14ToWalletButtonVMn _$s16_PassKit_SwiftUI03AddA14ToWalletButtonVyxG0cD04ViewAAMc _$s16_PassKit_SwiftUI03AddA19ToWalletButtonStyleV5blackACvgZ _$s16_PassKit_SwiftUI03AddA19ToWalletButtonStyleVMa _$s7SwiftUI4ViewP09_PassKit_aB0E03addD19ToWalletButtonStyleyQrAD03AdddghiJ0VF _$s7SwiftUI4ViewP09_PassKit_aB0E03addD19ToWalletButtonStyleyQrAD03AdddghiJ0VFQOMQ I removed support for MacOS and Vision Pro I tried to add Passkit and SwiftUI . framework But I got other error when I try to upload to test flight Xcode 15.3 Do you have some suggestion? thanks
0
0
833
Apr ’24
Xcode 14.3.x and Xcode 15 - slather code coverage folder missing
Hi everyone Premise: it works with Xcode 14.2 I have a problem with fastlane and slather, it gives me an error that it cannot find the "code coverage folder" Here are some details Fastlane file slather( build_directory: "./DerivedData", scheme: "MyApp", workspace: "MyApp.xcworkspace", proj: "./MyApp.xcodeproj", output_directory: "./DerivedData/testResult", cobertura_xml: true, verbose: true ) Error: Exit status of command 'slather coverage --cobertura-xml --build-directory ./DerivedData --output-directory ./DerivedData/test-output/slatherOutput --ignore Pods/\* --ignore fastlane/\* --ignore build/\* --ignore DerivedData/\* --verbose --scheme ProjectName --workspace ProjectName.xcworkspace ./ProjectName.xcodeproj' was 1 instead of 0. Slathering... /usr/local/lib/ruby/gems/3.0.0/gems/slather-2.7.4/lib/slather/project.rb:239:in `profdata_coverage_dir': No coverage directory found. (StandardError) from /usr/local/lib/ruby/gems/3.0.0/gems/slather-2.7.4/lib/slather/project.rb:517:in `find_binary_files' from /usr/local/lib/ruby/gems/3.0.0/gems/slather-2.7.4/lib/slather/project.rb:336:in `configure' from /usr/local/lib/ruby/gems/3.0.0/gems/slather-2.7.4/lib/slather/command/coverage_command.rb:59:in `execute' from /usr/local/lib/ruby/gems/3.0.0/gems/clamp-1.3.2/lib/clamp/command.rb:66:in `run' from /usr/local/lib/ruby/gems/3.0.0/gems/clamp-1.3.2/lib/clamp/subcommand/execution.rb:18:in `execute' from /usr/local/lib/ruby/gems/3.0.0/gems/clamp-1.3.2/lib/clamp/command.rb:66:in `run' from /usr/local/lib/ruby/gems/3.0.0/gems/clamp-1.3.2/lib/clamp/command.rb:140:in `run' from /usr/local/lib/ruby/gems/3.0.0/gems/slather-2.7.4/bin/slather:17:in `<top (required)>' from /usr/local/lib/ruby/gems/3.0.0/bin/slather:25:in `load' from /usr/local/lib/ruby/gems/3.0.0/bin/slather:25:in `<main>' No coverage directory found. Are you sure your project is generating coverage? Make sure you enable code coverage in the Test section of your Xcode scheme. Did you specify your Xcode scheme? (--scheme or 'scheme' in .slather.yml) If you're using a workspace, did you specify it? (--workspace or 'workspace' in .slather.yml) If you use a different Xcode configuration, did you specify it? (--configuration or 'configuration' in .slather.yml) Any ideas in order to fix this issue? Thanks
3
1
3.2k
Oct ’23
Swift Playground App: force only landscape iPad
Hi guys, I have tried everything, including integrating the App delegate in SwiftUI, tested all the solutions on the web. of everything InfoPlist does not exist in this type of app and there is no checkbox to tick in the Target project. Could it be that Apple has blocked any possibility of blocking Swift Playground App a landscape? do you have any ideas? a thousand thanks!!!
1
0
1.3k
Apr ’22
UITabBarItem accessibilityIdentifier not work iOS 15.4 XCode 13.2.1
Hi I have a problem with these identifiers I applied it like this to the tabbar self.tabBar.accessibilityIdentifier = @"MyID"; and works!!! But for tabBarItem I've tried everything but it doesn't work it's always empty Called in viewDidLoad of my TabbarController self.tabBarItem.isAccessibilityElement = YES; [self.tabBarItem setIsAccessibilityElement:YES]; self.tabBarItem.accessibilityIdentifier = @"MyID"; self.tabBar.items[0].accessibilityIdentifier = @"MyID"; Nothing works. I always get empty Do you have any idea on how to implement the identifier I want for each single element of the tabbar? Thanks
3
1
1.2k
Apr ’22
code coverage broken 0% since Xcode 16.2
Hi, moving from Xcode 16.1 to 16.2, the code coverage percentage is still 0. The project is quite old, but it worked with 16.1. What I tried: converted the old tests to test plans in the settings, including all the various targets (for internal functionality contained in frameworks, each framework has its own test target). added the various code coverage flags to YES. added test hosts to the main targets. played with various settings found in dozens of guides. But nothing. The main app shows 0% coverage, even though the internal frameworks have their own coverage and the files within the main app are tested. On Xcode 16.1, the % appears, but from 16.2 onwards, it doesn't. Also tried with Xcode 26. Any ideas? Thanks
Replies
0
Boosts
2
Views
190
Activity
Jul ’25
Guideline 5.1.1 - Legal - Privacy - Data Collection and Storage
Hi, I have an issue with App submission. My flow is: show third party cookie consent banner (is an external SDK) show ATT Apple with this message "Allowing tracking will enable more personalized ads for you." Apple says this: You collect data to track after the user selects "Ask App Not to Track" on the App Tracking Transparency permission request. Specifically, we noticed the app accesses web content you own and collects cookies for tracking after the user asked you not to track them. Next Steps To resolve this issue, please revise the app so that you do not collect data for tracking purposes if the user does not give permission for tracking. Alternatively, if you do not collect cookies for tracking purposes, revise the cookie prompts that appear in the app to clarify you do not track users. in the rejection they put the ATT alert and the third party banner as the screen Do you have any input on this as Apple never says things clearly about what the problem is. Thank you
Replies
3
Boosts
0
Views
1.5k
Activity
Jun ’24
ITMS-90863: Macs with Apple silicon support issue - The app uses symbols that aren’t present in macOS
Hi all, I got this error from test flight /System/Library/Frameworks/_PassKit_SwiftUI.framework/_PassKit_SwiftUI _$s16_PassKit_SwiftUI03AddA14ToWalletButtonVAA0cD09EmptyViewVRszrlE6actionACyAFGyyc_tcfC _$s16_PassKit_SwiftUI03AddA14ToWalletButtonVMn _$s16_PassKit_SwiftUI03AddA14ToWalletButtonVyxG0cD04ViewAAMc _$s16_PassKit_SwiftUI03AddA19ToWalletButtonStyleV5blackACvgZ _$s16_PassKit_SwiftUI03AddA19ToWalletButtonStyleVMa _$s7SwiftUI4ViewP09_PassKit_aB0E03addD19ToWalletButtonStyleyQrAD03AdddghiJ0VF _$s7SwiftUI4ViewP09_PassKit_aB0E03addD19ToWalletButtonStyleyQrAD03AdddghiJ0VFQOMQ I removed support for MacOS and Vision Pro I tried to add Passkit and SwiftUI . framework But I got other error when I try to upload to test flight Xcode 15.3 Do you have some suggestion? thanks
Replies
0
Boosts
0
Views
833
Activity
Apr ’24
Xcode 14.3.x and Xcode 15 - slather code coverage folder missing
Hi everyone Premise: it works with Xcode 14.2 I have a problem with fastlane and slather, it gives me an error that it cannot find the "code coverage folder" Here are some details Fastlane file slather( build_directory: "./DerivedData", scheme: "MyApp", workspace: "MyApp.xcworkspace", proj: "./MyApp.xcodeproj", output_directory: "./DerivedData/testResult", cobertura_xml: true, verbose: true ) Error: Exit status of command 'slather coverage --cobertura-xml --build-directory ./DerivedData --output-directory ./DerivedData/test-output/slatherOutput --ignore Pods/\* --ignore fastlane/\* --ignore build/\* --ignore DerivedData/\* --verbose --scheme ProjectName --workspace ProjectName.xcworkspace ./ProjectName.xcodeproj' was 1 instead of 0. Slathering... /usr/local/lib/ruby/gems/3.0.0/gems/slather-2.7.4/lib/slather/project.rb:239:in `profdata_coverage_dir': No coverage directory found. (StandardError) from /usr/local/lib/ruby/gems/3.0.0/gems/slather-2.7.4/lib/slather/project.rb:517:in `find_binary_files' from /usr/local/lib/ruby/gems/3.0.0/gems/slather-2.7.4/lib/slather/project.rb:336:in `configure' from /usr/local/lib/ruby/gems/3.0.0/gems/slather-2.7.4/lib/slather/command/coverage_command.rb:59:in `execute' from /usr/local/lib/ruby/gems/3.0.0/gems/clamp-1.3.2/lib/clamp/command.rb:66:in `run' from /usr/local/lib/ruby/gems/3.0.0/gems/clamp-1.3.2/lib/clamp/subcommand/execution.rb:18:in `execute' from /usr/local/lib/ruby/gems/3.0.0/gems/clamp-1.3.2/lib/clamp/command.rb:66:in `run' from /usr/local/lib/ruby/gems/3.0.0/gems/clamp-1.3.2/lib/clamp/command.rb:140:in `run' from /usr/local/lib/ruby/gems/3.0.0/gems/slather-2.7.4/bin/slather:17:in `<top (required)>' from /usr/local/lib/ruby/gems/3.0.0/bin/slather:25:in `load' from /usr/local/lib/ruby/gems/3.0.0/bin/slather:25:in `<main>' No coverage directory found. Are you sure your project is generating coverage? Make sure you enable code coverage in the Test section of your Xcode scheme. Did you specify your Xcode scheme? (--scheme or 'scheme' in .slather.yml) If you're using a workspace, did you specify it? (--workspace or 'workspace' in .slather.yml) If you use a different Xcode configuration, did you specify it? (--configuration or 'configuration' in .slather.yml) Any ideas in order to fix this issue? Thanks
Replies
3
Boosts
1
Views
3.2k
Activity
Oct ’23
Xcode 15 - hundreds of warnings due to macro "// WARNING:"
Hi all, I have this issue with new Xcode beta 2 (also beta 1), inside warning list I have hundreds of warning due to "// WARNING:" markdown inside the file like this AES.h namefile.h etc I think all related to the pod, but inside podfile I already have inhibit_all_warnings! Any suggestions? thanks? I wanna shutdown this kind of warnings
Replies
0
Boosts
0
Views
1k
Activity
Jun ’23
Swift Playground App: force only landscape iPad
Hi guys, I have tried everything, including integrating the App delegate in SwiftUI, tested all the solutions on the web. of everything InfoPlist does not exist in this type of app and there is no checkbox to tick in the Target project. Could it be that Apple has blocked any possibility of blocking Swift Playground App a landscape? do you have any ideas? a thousand thanks!!!
Replies
1
Boosts
0
Views
1.3k
Activity
Apr ’22
UITabBarItem accessibilityIdentifier not work iOS 15.4 XCode 13.2.1
Hi I have a problem with these identifiers I applied it like this to the tabbar self.tabBar.accessibilityIdentifier = @"MyID"; and works!!! But for tabBarItem I've tried everything but it doesn't work it's always empty Called in viewDidLoad of my TabbarController self.tabBarItem.isAccessibilityElement = YES; [self.tabBarItem setIsAccessibilityElement:YES]; self.tabBarItem.accessibilityIdentifier = @"MyID"; self.tabBar.items[0].accessibilityIdentifier = @"MyID"; Nothing works. I always get empty Do you have any idea on how to implement the identifier I want for each single element of the tabbar? Thanks
Replies
3
Boosts
1
Views
1.2k
Activity
Apr ’22
How to hide status bar in Swift Playground App and force landscape
hi, how can I hide the status bar in the whole Swift playground app (since there is no plist file)? if I add .statusBar (hidden: true) the safe area under the Home button is raised Also always for the plist file how can I force that the app is only in landscape always in the Swift Playground App?
Replies
1
Boosts
0
Views
1.1k
Activity
Apr ’22
App projects can't be opened on macOS with this version of Swift Playgrounds.
By creating a Swift Playground App project with XCode 13.3 as requested by Apple for the Student challenge. It gives me this error when I try to open with Swift playground. (I have the latest version available) (on Mac) Do you have any ideas? Thanks
Replies
1
Boosts
0
Views
1.4k
Activity
Apr ’22
Playground Book Template
Hi Where can I find and download the new Playground Book Template for XCode 13.3? thank you
Replies
0
Boosts
0
Views
484
Activity
Apr ’22