38 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
4
votes
2
answers
4k
views
Flutter flavor build from Xcode different main.dart
I want to build my app in different flavors. For Android everything works fine. For iOS only when i use vscode or the flutter build command line to build my app.
When I try to build and run my app ...
2
votes
1
answer
640
views
Tests cannot be run because the test plan "xxx" could not be read
In Xcode(14.3.1), I suddenly get this error when trying to run test today, and it is working fine yesterday. Check this file in Finder, it is exist. And also presented in Xcode.
Run in command line ...
3
votes
0
answers
644
views
RCTBundleURLProvider sharedSettings jsBundleURLForBundleRoot:@"index" is nil
I have a debug and release configuration. I've duplicated debug scheme and configuration, and set the new (duplicate of debug) scheme to the duplicate of debug configuration. I've had to manually set ...
0
votes
2
answers
183
views
Cannot build Flutter project through command line after adding Flavor/Xcode Scheme
I followed along with this tutorial to add Flavors to my Flutter project:
https://sebastien-arbogast.com/2022/05/02/multi-environment-flutter-projects-with-flavors/
oddly enough - I am able to run the ...
1
vote
1
answer
328
views
Xcode - Load a specific config file based on the build configuration
I am trying to use a specific file based on the Xcode build configuration (Debug / Release).
The script is running, but it always uses the else condition even though I am using the "dev.debug&...
2
votes
2
answers
2k
views
`Executed 0 tests, with 0 failures (0 unexpected)` when running individual test cases in Xcode
When I run tests in Xcode, as long as I run all the tests collectively they execute normally. However, if I run only one individual test class or one individual test function within a test class, it ...
2
votes
1
answer
420
views
How does Xcode decide what preprocessor macros and other build settings to use for autocomplete?
My Xcode project has different build configurations, and they define different preprocessor macros. Autocomplete doesn't work in #ifdef blocks that are ignored by the current preprocessor flags, so I ...
4
votes
1
answer
2k
views
Determining if Xcode StoreKit Configuration file is being used
Xcode 12 introduced StoreKit Configuration files which are great for testing basic StoreKit functionality before delving into App Store Connect, Sandbox and all that.
Is there a way to determine at ...
3
votes
3
answers
7k
views
Xcode / IOS multiple apps with same code base / project
I'm trying to set-up xcode to allow me to build / publish 2 apps using the same code but with different app icons, assets and a different database.
if I have 2 apps using the same code:
app 1: fruit ...
1
vote
1
answer
572
views
Duplicating debug configuration for multi Scheme is not working in React native-iOS
I've developed my project using react native, and now I am trying to implement multi-scheme for my dev, uat, and prod environments.
For the above, I've setup schemes and duplicated the release and ...
3
votes
1
answer
988
views
Xcode configuration doesn’t change after switching schemes
In my Xcode project, I set up two schemes: Dev and Release; each corresponds to the configuration of the same name.
The problem is, when I activate the Release scheme, the project still uses the Dev ...
1
vote
0
answers
57
views
How can i use different source files with same class name in Xcode for mocking?
My Xcode project contains two target:
main that contain the main source code
uiTest that contain code for ui testing
So it has a file called DIResolver that used to provide my dependencies.
When i ...
1
vote
2
answers
1k
views
React Native: Simulate Background Fetch disabled
I'm trying to simulate background fetch in a React Native project
React Native version 0.57.3
Xcode Version 10.0 (10A255)
I've opened the ios project on Xcode and then I build the project then run ...
1
vote
1
answer
75
views
How can I force/setup the right keyboard in the iOS Simulator during tests?
The app has a Chinese localization and runs with Scheme options (see image).
When I hit the text field, I would expect a Chinese keyboard and not a German one.
I only see German, English and Emoji ...
0
votes
1
answer
85
views
XPC Process Crashes in older macOS due to lack of Sanitizers
When I take a Debug Build of my macOS app, built in Xcode 9.1, and move it to a Mac running macOS 10.11 or 10.12 for testing, I find that my app's XPC process crashes on load, and the crash report ...