xcode-workspace

Xcode: Copy files from one Project to another in same workspace

爷,独闯天下 提交于 2019-12-23 02:34:54
问题 I am currently working on legacy code for an iPhone application. Someone has implemented a feature in the iPhone and now I am trying to implement it into iPad. To start with I have decided to drag the files from the iPhone project into the iPad and get it working. Then I am going to find a solution where by both projects can share the same code. However I have copied the files from the iPhone project into the ipad project and have a problem with the xib. The outlets are still referencing the

How to compile a project with app and library in the same workspace with different configuration names?

拟墨画扇 提交于 2019-12-17 17:31:46
问题 I am developing an app and I am using an open source component. I have a workspace containing both MyApp.xcodeproj and Component.xcodeproj . My app has three configurations: Debug , App Store and In House but the component has only two: Debug and Release In the Debug configuration, everything works fine, but I can't compile my app in App Store or In House configuration because the configuration names do not match. I get a file not found error when trying to #import <Component/Component.h> I

How to embed private Objective-C framework into iOS app on Xcode 6 with workspaces

强颜欢笑 提交于 2019-12-11 03:22:29
问题 I have written a small private framework that I want to share between a few iOS apps. Here is the work flow I envision: Pull SimpleApp from source control. Pull BobFramework from source control. Somehow embed BobFramework into SimpleApp using Xcode. Build project. Done! The problem is how do I accomplish the "embed using Xcode" step? I cannot find step-by-step instructions on how to do this. Apple's docs are an out-of-date lie. All the Stack Overflow questions I have found assume readers know

Xcode Build Configurations in Workspace With Multiple Projects

江枫思渺然 提交于 2019-12-07 09:33:52
问题 Using Xcode 7.2 (7C68), OS X 10.11.2 (15C50) tl;dr With multiple projects in same Xcode workspace, why do my user-defined build settings for a build configuration seem to not work? I set them correctly in the scheme, but when run on simulator the values are correct; when run on device, the values are wrong. Hello. I am trying to leverage Xcode build configurations (.xcconfig files) to customize the behavior of our app based upon the environment. This is so that we can switch between

Xcode: Copy files from one Project to another in same workspace

你。 提交于 2019-12-06 15:31:18
I am currently working on legacy code for an iPhone application. Someone has implemented a feature in the iPhone and now I am trying to implement it into iPad. To start with I have decided to drag the files from the iPhone project into the iPad and get it working. Then I am going to find a solution where by both projects can share the same code. However I have copied the files from the iPhone project into the ipad project and have a problem with the xib. The outlets are still referencing the iPhone version. So when I remove the IBOutlets from the iPad version the connections still remain

Xcode Build Configurations in Workspace With Multiple Projects

让人想犯罪 __ 提交于 2019-12-05 15:40:01
Using Xcode 7.2 (7C68), OS X 10.11.2 (15C50) tl;dr With multiple projects in same Xcode workspace, why do my user-defined build settings for a build configuration seem to not work? I set them correctly in the scheme, but when run on simulator the values are correct; when run on device, the values are wrong. Hello. I am trying to leverage Xcode build configurations (.xcconfig files) to customize the behavior of our app based upon the environment. This is so that we can switch between integration and production URLs with automatically based upon the scheme's build configuration. However, I am

Duplicate target after “pod install”

核能气质少年 提交于 2019-12-01 10:31:44
After I added new dependency to my project and run pod install , I have duplicate target in my workspace(.xcworkspace) as below: And this is the pod file structure: platform :ios, '8.0' use_frameworks! pod 'AFNetworking', '~> 2.6' pod 'Fabric' pod 'Crashlytics' pod 'SocketRocket' I restart the project and also Xcode, but it does not help. What is the reason and how can I solve the problem? First, try to wrap your pods with target specification, like this: target 'TargetName' do pod 'Fabric' pod 'Crashlytics' #other pods end Delete your .xcworkspace, podfile.lock and pods folder, just as

Duplicate target after “pod install”

落花浮王杯 提交于 2019-12-01 06:49:16
问题 After I added new dependency to my project and run pod install , I have duplicate target in my workspace(.xcworkspace) as below: And this is the pod file structure: platform :ios, '8.0' use_frameworks! pod 'AFNetworking', '~> 2.6' pod 'Fabric' pod 'Crashlytics' pod 'SocketRocket' I restart the project and also Xcode, but it does not help. What is the reason and how can I solve the problem? 回答1: First, try to wrap your pods with target specification, like this: target 'TargetName' do pod