Questions tagged [xcode-target]

10 questions
283
votes
6 answers

Xcode: What is a target and scheme in plain language?

Yeah the title says it :-) What do they mean in plain English language? I really don't understand the explanation on Apple's website and I need to rename my target and I'm afraid that nothing works after that..
MichiZH
  • 5,587
  • 12
  • 41
  • 81
28
votes
3 answers

Xcode 4 target build setting "Skip install". What is it?

The tile basically says it all. I'm developing a mac app which has the normal app target, but also has two more command-line tool targets whose products are copied to the app when building. I remember seeing somewhere that the "Skip install" was…
Alex
  • 5,009
  • 3
  • 39
  • 73
22
votes
2 answers

How does Xcode find implicit target dependencies?

Xcode finds dependencies automatically sometimes. I think is is ok when I am the one who is defining the relationships and when I get lazy ... But more than often I find myself facing an existent (medium to large size) project with several targets.…
nacho4d
  • 43,720
  • 45
  • 157
  • 240
3
votes
0 answers

Should I split Xcode project into Swift packages or traditional Xcode targets?

I have started modularizing Xcode project into multiple smaller Swift packages. I am wondering whether I should have used Xcode targets instead. The reason why I am asking this question is because I read Sppotify's article about their newly…
TecHummer
  • 139
  • 1
  • 9
3
votes
2 answers

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 list (display a list of fruits) app 2: Veggie…
Slamit
  • 465
  • 1
  • 6
  • 21
2
votes
1 answer

Sign iOS dylib before building

I have a C++ library in my hands that needs to be compiled in a form of .dylib for iOS. I have used iOS-cmake and that tool has built a library and created Xcode solution where I can find the library in targets section. So I open Xcode solution,…
Eugene Alexeev
  • 1,152
  • 12
  • 32
1
vote
0 answers

Is there a way to add Flutter to an extension Target on iOS xCode?

Assuming I have a basic flutter app and I add a target in xcode for the ios app. Would there be any way to link it to the main Flutter folder so I can do an "import Flutter" in the extension the same way it's done in the AppDelegate then start a…
aloys-c
  • 51
  • 5
1
vote
0 answers

Xcode Multiple Targets into One macOS App

I have been coding with the C++ Framework SFML (https://www.sfml-dev.org/index.php) for a little over a year now, and wish to try and get a game developed and post it to the Mac App Store for both Intel & Apple Silicon Architectures. With SFML…
0
votes
0 answers

In Xcode, create framework as target in same project as app vs separate project for framework

Main question Here is my scenario: I have app A in Xcode project X. I will create framework F to use in app A. I could create framework F inside project X as another target. I could also create a new project Y to hold framework F. What are the…
Jeff
  • 3,829
  • 1
  • 31
  • 49
0
votes
1 answer

Load image to uiimageview based on the selected target in Xcode

I'm trying to create two applications from same codebase. These application will have same functionality but different logos, app name etc. I have created two targets with different bundle Ids so now I get unique apps when running each target.In my…
Lak
  • 381
  • 1
  • 5
  • 23