Xcode - duplicate Target - new Target fails to build

using Xcode 3.2.5 on 10.6.6 (10J521) and now 10J537. I have an Xcode project containing 1 Target: "MyApp". It builds and runs successfully. As well as source and resource files, the Target...

In Xcode, how do I use a different AppIcon for each target iOS App?

I have one Xcode project (in Xcode 6.1) with a 4 targets for 4 different apps that share a lot of the same source code. I'm trying to have each one of them show a different app icon. Going into...

Open UISplitViewController to Master View rather than Detail

I have a split-view interface with a target iPhone 6 application. On the first launch of the application, it opens to the Detail View; I would like it to open to the Master View. I have...

Command failed due to signal: Abort trap: 6

Since Xcode 7 and Swift 2.0, I get the error above, like in the screenshot shown here: I have no idea where this is coming from, cleaning and deleting derived data didn't work. Anyone else...

How to remove duplicate files generated through cocoa pods in iOS

I am using cocoa pods to integrate multiple third party files into my project. I have to integrate below pod into my project xcodeproj 'MyApp' workspace 'MyApp' source...

Scroll until element is visible iOS UI Automation with xcode7

So with the new xcode update apple has revamped the way we do UI testing. In instruments we used java script function "isVisible" to determine if our targeted element is visible. I'm trying to...

Eclipse on MAC OS X Does not detect LLVM toolchain

I'm trying to work with eclipse to compile/debug C/C++ applications on MAC OSX using LLVM/Clang. I know I have the toolchain correctly installed as I can compile with it from the terminal using a...

How to update Swift dependencies in Xcode

After I create a new swift package with dependencies I call swift package generate-xcodeproj. If my dependencies have a new version I call swift package update. The new version of my dependency...

Adding a resource file to iOS in a native react native module

I'm working on a native react native module, where I need a JSON resource file. I cannot figure out how to make this file available for the iOS side for either unit testing in the module or when...

Is there a way to change the name of a Safari app extension in Xcode?

I have created a Safari app extension through an Xcode target that I want to change the name of. Initially, when creating the Xcode target, I simply called it "Safari Extension", thinking that I...

Xcode 10: A valid provisioning profile for this executable was not found

Since yesterday I've been getting the following error when trying run an app on my device: A valid provisioning profile for this executable was not found." This is after updating to Xcode 10....

Display Cordova "console.log" entries in Android Studio

I have a Cordova app using Vue.js, and lots of logging using the standard Javascript/browser console.log(). Up until now I've only been targeting iOS, and those console.log messages appear in the...

GoogleMaps SDK - Failed to load Info.plist

I'm following the instructions to manually install GoogleMaps and GooglePlaces SDKs (v3.0.3) and after dragging the frameworks, adding to the project target, and copying the bundle resources, the...

Flutter Firebase Project won't compile after 'pod update'

after I run pod update in my flutter project, my project won't compile for iOs. Thats what I already tried. Deleting the Pod Folder. Deleting the Podfile Running Pod init to create a new...

Xcode 10.2 Update issue Build system error -1: Unable to load contents of file list: input/output xcfilelist

After upgrading to Xcode 10.2 I am getting 2 errors :-1: Unable to load contents of file list: 'xxxxx/Pods/Target Support Files/Pods-xxxx/Pods-xxxxx-frameworks-Debug-input-files.xcfilelist' (in...

GCC 8 conformance test failure when cross-compiling on macOS Mojave to target PowerPC

I'm trying to get a cross-compiler for my Intel MacBook Pro running macOS Mojave to compile for PowerPC G5 Macs. I've tried to follow a modified version of the steps from here but my configure...

xcode_backend.sh: no such file or directory. Do I need to create this file?

My Flutter Project won't run on the ios simulator and is throwing this error: Launching lib/main.dart on iPhone Xʀ in debug mode... Running Xcode build... Xcode build done. ...

Cannot fix "Could not find or use auto-linked library "

I have an app built with Swift with pods(firebase). I have 18 triangle and 100 red errors which weren't there before. They only appear when I try to archive my app. I have tried all of...

Command PhaseScriptExecution failed with a nonzero exit code Xcode 11.3.1

I am getting Command PhaseScriptExecution failed with a nonzero exit code error frequently, The below workarounds which I followed but didn't help me. Workaround1: Keychain Access -> Right-click...

Target Integrity Issue: "Building for iOS, but the embedded framework 'X.framework' was built for iOS Simulator"

Our organization distributes iOS pre-compiled dynamic frameworks using the method which we understood to be previously canonical prior to Xcode 11.4. It involved building two pre-compiled...

"Command PhaseScriptExecution failed with a nonzero exit code" when archiving

so I have an app built with Expo but then ejected to get ios and android folder everything works fine on both android and ios I have published it for android but on ios when I try to archive the...

The 'Pods-Runner' target has transitive dependencies that include statically linked binaries: (.../ios/Flutter/Flutter.framework)

After upgrading to flutter version 1.17.4 when running flutter build ios I get following output: [!] The 'Pods-Runner' target has transitive dependencies that include statically linked binaries:...

flutter dependOnInheritedWidgetOfExactType fails in test

App runs correctly with flutter run With flutter drive --target=test_driver/main.dart the call to dependOnInheritedWidgetOfExactType returns null Some relevant code: class TimerServiceProvider...

ARCHS[@]: unbound variable in Xcode 12

Our iOS project is built successfully in Xcode 11. However, on Xcode 12, it shows an error like this: PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks...

error: 'Flutter/Flutter.h' file not found when flutter run on iOS

I don't know why but I can't build or run the App in my new Macbook, I run the same folder on another Mac or my windows computer and runs perfectly. here when I run flutter clean, I have to run...

React Native pod install failed on Apple Silicon (M1)

I got my new Macbook Pro which has M1 chip. I tried to run my react native project but stucked on pod install. After that, I created an empty project and tried on that still getting the same...

PhaseScriptExecution [CP-User] error in React Native

Nowadays everytime I create a new project react-native init ProjectName and after it is created I do npx pod-install and then react-native run-ios it gives me error. It happens with every project...

error: no template named 'remove_cv_t' in namespace 'std'; did you mean 'remove_cv'?

My problem seems similar to this issue, except it happens when I run yarn install in a rails app. When I run yarn install, it runs successfully for some time,...

Redefinition of module 'React' in React-RCTWebSocket.modulemap

Good day, We have just upgraded react-native from 0.59.10 to 0.60.0. Mainly we have been following these...

react-native pod install (C compiler cannot create executables)

I'm trying to setup a new react native project on my Mac (M1). After initing the project with npx react-native init test I get the output: ✔ Downloading template ✔ Copying template ✔...