9,660 questions
-2
votes
0
answers
41
views
Command PhaseScriptExecution failed with a nonzero exit code or "Improperly formatted define flag" [closed]
Final Working Solution (after struggling with this bug for a long time)
I ran into this issue after reinstalling Android Studio (I use it for Flutter).
For a long time I tried to fix the error by ...
0
votes
0
answers
49
views
CocoaPods install error: “version of CocoaPods used to generate the lockfile (1.16.2) is higher than the current executable (1.15.2)” in react native
I'm working on a React Native iOS project using React Native 0.81.4, and I'm getting a CocoaPods–related error when running:
Installing Ruby Gems
Installing CocoaPods dependencies with New ...
0
votes
0
answers
39
views
Kotlin Multiplatform: Incompatible 'embedAndSign' Task with CocoaPods Dependencies in Xcode
I have a Kotlin Multiplatform Mobile project (KMP) targeting Android + iOS. My setup:
Kotlin version: 2.2.21
Kotlin Multiplatform plugin: 2.2.21
CocoaPods plugin in build.gradle.kts:
plugins {
...
Best practices
0
votes
0
replies
38
views
Can you confirm how we can omit the library reference in the child library, and enforce the container app to install those dependent linbraries
I am creating the React native application, where i have added the Google Map dependecy using Cocoapod. However i need to integrate a Native IOS library distributed using SPM which intenally is using ...
0
votes
0
answers
170
views
Flutter 3.35 iOS build fails on Apple Silicon (M3/M4): 'Flutter/Flutter.h' file not found
I'm on a MacBook Air 2025 M4 (Apple Silicon) using Flutter 3.35.5 on channel stable, Xcode 26.0.1, and CocoaPods 1.16.2.
Actual Setup:
Component
Version
macOS
15.0 Sequoia
CPU
Apple M4 (ARM64)
Flutter
...
0
votes
0
answers
29
views
React native: Searching for inspections failed: undefined method `map' for nil:NilClass
While upgrading react native version from 0.80.2 to 0.81.4, npm run ios --verbose , throws this error:
error Searching for inspections failed: undefined method `map' for nil:NilClass
report....
0
votes
0
answers
36
views
App flavouring issue with multiple targets
I am configuring my app to have different targets like Staging and Production so I can switch configuration on one go from staging to production and visa versa.
I created different targets and ...
7
votes
3
answers
3k
views
Flutter iOS Build Fails After Xcode 26 Update: "Unable to find module dependency: 'CTweetNacl'"
Problem Description
After updating to Xcode 26, my Flutter iOS project fails to build with the following error:
Swift Compiler Error (Xcode): Unable to find module dependency: 'CTweetNacl'
Could not ...
0
votes
1
answer
133
views
Xcode build fails with return code 65 during Azure DevOps pipeline archive step (Swift project with submodules)
I’m trying to build and archive an iOS project in an Azure DevOps pipeline, but the build keeps failing with return code 65 when running the Xcode@5 task.
The project structure:
Root repo contains CI/...
0
votes
0
answers
86
views
Cordova and Xcode ios how to modify existing podfile post_install config
How can I add post_install configurations to an existing podfile that already has a post_install section? I need to add a line to fix a build clang ld linker error to debug-iphonesimulator myapp....
0
votes
1
answer
96
views
Flutter Integration using Cocoapods. FlutterPluginRegistrant development pod not building due to `sqflite_darwin`
I am using CocoaPods v1.16.2 and Xcode 16.3.
I have a native iOS app in which a few screens need to be built using flutter.
For that, I have integrated Flutter into the iOS project using CocoaPods by ...
0
votes
0
answers
27
views
In case of using same library in framework and iOS App
I have a custom framework(a.framework) using Alamofire v1.0. (version is jsut example)
And I have a My App using the custom framework(a.framework).
The my App using Alamofire v2.0.
No conficts?
In ...
0
votes
0
answers
196
views
Use Swift open source library with SPM
I have a React Native app using Expo, and I need to integrate a Swift open-source library that doesn’t have any React Native bindings. Since I need to make some custom modifications to that library, I ...
0
votes
0
answers
101
views
Flutter iOS: "Multiple commands produce .app" error on Xcode 16.4. Even legacy build system fails
I keep getting these "Multiple commands produce" errors when building my Flutter iOS app. This started after updating to macOS 15.6 and Xcode 16.4.
Error:
Error (Xcode): Multiple commands ...
1
vote
0
answers
49
views
How to use custom framework with third-party framwork in my test ios project?
I have a test ios project.
And I built my custom framework. The custom framework uses thirt-party framework using cocoapods: for example, Alamofire Library.
My custom framework's build is successfull.
...
0
votes
0
answers
33
views
How to use custom framework with external library in ios project?
I made custom framework included Socket.IO-Client-Swift with coccoapods.
In my custom framework's podfile is below.
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '16.0'
...
0
votes
0
answers
74
views
ReactCodegen: Command PhaseScriptExecution failed with a nonzero exit code
I have a Lerna + React Native 0.76 project that was working on my previous M1 Macbook Pro but then I've migrated to a M4 Macbook Pro (Has also tested on a M2 Macbook Air and M2 Pro Macbook Pro). All ...
0
votes
1
answer
80
views
Export React Native Component and Android/IOS SDK
I have a ReactNative expo project that exports a component lets say HelloWorldWidget. I want this component to be usable in a native android and IOS project as easily as possible.
I could not find any ...
0
votes
0
answers
71
views
Getting No type or protocol named 'GIDSignInDelegate' error when trying to run xcode project
I am using latest google sign unity release 1.0.4 in Unity project. I use google sign in via Firebase. Everything works fine when I generate an Android app from my Unity project but I am facing issue ...
0
votes
0
answers
124
views
The archive did not include a dSYM for the AgoraVideoAv1DecoderExtension.framework with the UUIDs [*******-230E-376D-B9D5-39842C39E201]
When I upload the build to App Store Connect, I get a series of "Upload Symbols Failed" errors like this:
Upload Symbols Failed
The archive did not include a dSYM for the ...
0
votes
0
answers
53
views
EAS build iOS failing: ‘Could not find proper version of cocoapods (1.15.2)’ despite installed
I have installed Expo modules and configured EAS build on my existing React Native 0.70.15 project and when running eas build --platform ios --profile development --local it gives me this error:
[...
0
votes
0
answers
44
views
Running Cocoapods on Windows
I followed the instructions in this article, but after successfully installing all required dependencies, I am unable to run the basic update or install commands. I get the following error:
PS C:\Data\...
0
votes
0
answers
40
views
Invalid `Podfile` file: No such file or directory @ rb_file_s_symlink
PS D:\Code\Dart\ao3_reader\ios> pod install
The syntax of the command is incorrect.
[!] Invalid `Podfile` file: No such file or directory @ rb_file_s_symlink - (C:\\Users\\USER\\AppData\\Local\\...
0
votes
1
answer
1k
views
Invalid `react-native-safe-area-context.podspec` file: undefined method `visionos' for #<Pod::Specification name="react-native-safe-area-context">
I am getting this error on npx expo prebuild:
npx expo prebuild
Something went wrong running `pod install` in the `ios` directory.
Command `pod install` failed.
└─ Cause: Invalid `Podfile` file:
[!] ...
0
votes
0
answers
41
views
cant import cocoapods.MapLibre in my iosMain section of my kmp project
I am using maplibre for some map generation on a cross platform app.
for that I created a library to provide my app with all the necessary stuff.
lets call that library "Maps".
in the ...
1
vote
1
answer
71
views
Subject: Persistent iOS Build Failure in CI/CD: darwin-podhelper.rb Circular Dependency & Generation Issue
I'm a PC developer, building my Flutter application for iOS using cloud CI/CD platforms. My app works perfectly on Android (both emulators and physical devices), confirming the health of my Dart code ...
0
votes
2
answers
124
views
CocoaPods Third-party header files not found after successful builds for a year
I have a previously working iOS project that has been running fine for over a year. However, recently it suddenly started throwing errors related to missing header files from third-party libraries:
...
-1
votes
1
answer
70
views
Flutter iOS build fails on real device: 'Flutter/Flutter.h' file not found
I'm trying to run my Flutter app on a real iPhone using flutter run but I keep getting this build error:
/Users/farahabutair/.pub-cache/.../image_picker_ios/messages.g.m:12:9:
error: 'Flutter/Flutter....
0
votes
0
answers
29
views
Added plugin libs.plugins.kotlinCocoapods but buildEnvironment does not show it up
I have created a minimal project in order to add FirebaseAuth to my CMP Project.
platform :ios, '15.3'
target 'iosApp' do
use_frameworks!
use_modular_headers!
pod 'FirebaseAuth'
# Add your ...
0
votes
1
answer
341
views
FirebaseAuth/FirebaseAuth-Swift.h file not found in React Native iOS Project with Firebase Authentication
I'm working on a React Native CLI project (iOS) and encountering a build error in Xcode: 'FirebaseAuth/FirebaseAuth-Swift.h' file not found. This issue occurs when trying to integrate Firebase ...
0
votes
0
answers
26
views
Resources not ending up in the bundle using a local Expo module with a dependency on FirebaseUI/Auth
tldr; I need to get the strings resources to be copied from a dependency of my local module into the app bundle.
I'm using FirebaseUI/Auth to present a UI for signing in. My project is an Expo project ...
0
votes
0
answers
178
views
"KMM project fails with ':composeApp:iosArm64Main: cinterop ...GoogleMaps.klib does not exist' when adding GoogleMaps pod to cocoapods block"
Errors
Error 1 — on sync or build
When I sync after adding the pods above, I get this error:
> Task :composeApp:iosArm64Main:cinteropGoogleMaps FAILED
cinterop file: /Users/../MyApp/composeApp/...
1
vote
0
answers
116
views
gRPC-C++ and Firebase pod integration issue on Apple Silicon (M4) with React Native iOS project
I’m working on a React Native iOS project using CocoaPods on an Apple Silicon M4 machine (macOS 14.x, Xcode 15.4).
I’m integrating Firebase SDK along with gRPC-C++ and running into module map issues ...
1
vote
1
answer
120
views
How to include an xcframework in a Flutter plugin that persists after pod install?
Problem
I'm developing a Flutter library that contains iOS native Swift code. This native code needs to call functions from an xcframework.
Currently, I can add the xcframework by manually dragging ...
0
votes
1
answer
198
views
No such module 'UnityFramework' ,Getting this message updating Xcode to latest version
After the update of the Xcode to latest version, I’m getting “No Such Module Unity Framework” as error. the complete information is below.
I had to update the Xcode and the O.S as per the Apple ...
1
vote
0
answers
226
views
Xcode ScanDependencies failures building React Native iOS app (com.apple.compilers.llvm.clang.1_0.compiler)
I’m trying to build a React Native iOS project in Xcode (Debug-iphonesimulator) but I keep getting “ScanDependencies” failures before compilation even begins:
ScanDependencies /Users/<username>/...
0
votes
1
answer
535
views
Flutter iOS build fails due to GoogleUtilities/Environment CocoaPods version conflict (Firebase Core, Messaging, Google Sign-In)
I'm trying to build my Flutter app for iOS, and the process is failing due to a CocoaPods dependency conflict involving GoogleUtilities/Environment. It seems different Firebase packages are requesting ...
0
votes
0
answers
38
views
Running Pod- version on M1 results in class: Symbol (Psych::DisallowedClass)
I am on a Macbook Pro M1 and just upgraded to Sequoia. I can't get Cocoapods running. I am getting this error when just running pod --version
/opt/homebrew/Cellar/ruby/3.4.3/lib/ruby/3.4.0/psych/...
1
vote
0
answers
155
views
App Store Connect validation failed due to embedded framework contains bitcode. how to resolve?
enter image description here
I'm trying to upload my iOS app to App Store Connect using Xcode 16, but I'm encountering the following validation error during distribution:
Invalid Executable. The ...
0
votes
1
answer
191
views
React Native iOS build fails: no such module 'OneSignalExtension' in OneSignalNotificationServiceExtension
I'm working on a React Native app with an iOS target, and I'm getting a build error related to a OneSignal Notification Service Extension. The build fails with the following error:
SwiftEmitModule ...
0
votes
1
answer
46
views
How to keep Cocoapods in valid state?
I have a flutter project and when cloning the repository and running a flutter build I get the error CocoaPods not installed or not in valid state.. Fixing this is not a big deal following some of the ...
1
vote
2
answers
919
views
glog 0.3.5 - Flipper-Glog 0.3.6 Build Failure on macOS 15.4.1 and Xcode 16.3 with React Native
After updating to macOS 15.4.1 and Xcode 16.3, my React Native iOS build is failing during pod installation. The specific error occurs with Flipper-Glog, where it's trying to install version 0.3.6 ...
0
votes
0
answers
86
views
Flutter iOS Build Failed on Simulator (Xcode 16.3): Unsupported option '-G' despite Podfile modifications
I am encountering an issue when trying to run my Flutter application on the iOS simulator (iPhone 15 Pro Max, iOS 17.5). The build process fails with the following error:
Error (Xcode): unsupported ...
0
votes
0
answers
30
views
Xcode Builds Successfully And Then Throws Error Stating Missing Files
Re: iOS app.
When I install pods via CLI to my project for the first time, launch Xcode, and then run the app, everything works fine – no build errors.
But after several instances of running the ...
1
vote
0
answers
79
views
Errors installing cocoapods for Flutter due to outdated rubygems
I've been following the Flutter install doc at https://docs.flutter.dev/get-started/install/macos/mobile-ios.
When trying to install cocoapods using "sudo gem install cocoapods", I get that &...
5
votes
0
answers
481
views
Why inputPaths outputPaths added in project.pbxproj?
In Xcode I have found in git changes like:
/* Begin PBXShellScriptBuildPhase section */
63913B9A8F6E1EC45BA5D77D /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
...
0
votes
1
answer
50
views
Xcode updated podfiles, variable compile errors
I have an Xcode project. It makes use of IOS Charts. I have just upgraded the podfiles to get the latest version so I can access the privacy manifest on the Charts SDK (Apple need this for me to get ...
2
votes
0
answers
305
views
How to resolve 'non-modular-include-in-framework-module' error in Xcode 16.0 with React Native 0.78.1?
I'm encountering a recurring build error in Xcode 16.0 when building my React Native app (version 0.78.1). The error specifically states:
non-modular-include-in-framework-module
This occurs in ...
0
votes
0
answers
22
views
Where are the MetaMask_iOS/WebSocketProvider.h
This is inherently my first time trying to build for iOS using the Unity Game Engine, I have packages for Firebase, Thirdweb and MetaMask.
I managed to resolve the first two but MetaMask seems to be ...
-2
votes
1
answer
504
views
React Native 0.78 iOS build fails with Undefined symbols for architecture x86_64: '_main' after upgrade from 0.68
I'm upgrading a React Native project from 0.68.6 to 0.78.0 and followed all steps on React Native Upgrade Helper.
✅ yarn install and pod install both complete successfully.
❌ But when I try to build ...