Comments (22)
Weird: https://github.com/CocoaPods/Specs/blob/master/Specs/BuildaUtils/0.0.8/BuildaUtils.podspec.json#L15
from xcodeserversdk.
I know, I know... I'm reinstalling Xcode (this crazy lil bastard) and I'll check on this one more time!
from xcodeserversdk.
Nope, nothing... Still getting this error.
Take a look at this: Alamofire/Alamofire#106
from xcodeserversdk.
Delete derived data?
from xcodeserversdk.
Hmm I'm still confused. How can we change the podspec
to work for iOS as well? I thought that would already be working now.
from xcodeserversdk.
Derieved data deleted, Xcode reinstalled... Nothing seems to help!
from xcodeserversdk.
When I did modify Podfile
iOS targets
to look like:
target 'XcodeServerSDK - iOS' do
platform :ios, '9.0'
pod utils_name, utils_version
end
target 'XcodeServerSDK - iOS Tests' do
platform :ios, '9.0'
pod utils_name, utils_version
pod 'DVR', :git => "https://github.com/czechboy0/DVR.git", :tag => "v0.0.3-czechboy0"
end
everyting started working for iOS but unexpectedly OS X target fails with:
from xcodeserversdk.
Damn, this is annoying! Maybe something to file with CocoaPods?
from xcodeserversdk.
¯_(ツ)_/¯
There are many possible scenarios... I think I'd be great if some Cocoapods guru can take a glipse at the project itself and at Podfile
. Maybe @neonichu 😜
from xcodeserversdk.
probably deintegration woes, try out https://github.com/kylef/cocoapods-deintegrate and then pod install
again (see also CocoaPods/CocoaPods#2471)
from xcodeserversdk.
I did deintegration...
I did add platform
to each target
...
😭
from xcodeserversdk.
How can I repro this?
from xcodeserversdk.
Just git clone
this repo and try building it for different targets (OS X, iOS and watchOS) but from swift-2
branch 😉
Current Podfile
should fail for iOS and when you specify platform
it'll fail for OS X.
from xcodeserversdk.
In this case, you should rather explicitly define the platform
for each target, like this:
diff --git a/Podfile b/Podfile
index eef1f20..19c7bd6 100644
--- a/Podfile
+++ b/Podfile
@@ -5,24 +5,29 @@ utils_name = 'BuildaUtils'
utils_version = '0.0.8'
target 'XcodeServerSDK - OS X' do
+platform :osx, '10.10'
pod utils_name, utils_version
end
target 'XcodeServerSDK - OS X Tests' do
+platform :osx, '10.10'
pod utils_name, utils_version
pod 'DVR', :git => "https://github.com/czechboy0/DVR.git", :tag => "v0.0.3-czechboy0"
end
target 'XcodeServerSDK - iOS' do
+platform :ios, '8.0'
pod utils_name, utils_version
end
target 'XcodeServerSDK - iOS Tests' do
+platform :ios, '8.0'
pod utils_name, utils_version
pod 'DVR', :git => "https://github.com/czechboy0/DVR.git", :tag => "v0.0.3-czechboy0"
end
target 'XcodeServerSDK - watchOS' do
+platform :watchos, '2.0'
pod utils_name, utils_version
end
However, this still doesn't seem to work, because the target dependencies aren't being set up correctly.
from xcodeserversdk.
And in that case I get linker command failed...
for OS X while other platforms work as supposed.
from xcodeserversdk.
What's the status of this, @cojoj?
from xcodeserversdk.
Looks like we're stuck... No matter what we put where one platform won't work. I really have no idea what else we can do.
I've tried extracting
pod utils_name, utils_version
outside any target
but no luck here... 😓
I think that right now we're trying to fix issue related to BuildaUtils
... Maybe fact that we have two targets there or some missing things in project.pbxproj
.
from xcodeserversdk.
BuildaUtils
shouldn't affect this, it just provides a bunch of .swift
files, the project file isn't used by CocoaPods AFAIK.
from xcodeserversdk.
@neonichu Does this have anything to do with the recent change in CocoaPods in an attempt to reduce duplicate targets? We basically have the same code just compiled for different targets here.
from xcodeserversdk.
@czechboy0 possibly, I am honestly not sure why exactly it is failing
from xcodeserversdk.
😢 Thanks anyway.
from xcodeserversdk.
Closing this due to #110 being merged (so this isn't an issue any more).
from xcodeserversdk.
Related Issues (20)
- Re-record test cassettes with Xcode 7 Beta 6 changes HOT 1
- Don't send `rev` when deleting a Bot
- Provide RAC extensions (as a subspec) HOT 2
- Use Nimble for test matchers HOT 4
- Add support for live updates from XCS HOT 1
- Wait for integration results HOT 2
- Crash - no available platforms on Xcode Server HOT 6
- Add platforms for tvOS and tvOS simulator HOT 1
- Rename dictionarify to jsonify to be consistent with BuildaUtils
- Review & adapt to the new XCS API Docs HOT 2
- Release a spec with tvOS support HOT 1
- XcodeServerProxy (proxy, load balancer) HOT 4
- Has API changed with latest OS X Server update? HOT 8
- Call to server.getIntegrations fails with 400 Error HOT 4
- Incompatible with Xcode 7.3 beta HOT 4
- Build a API tester to run on every new release
- Cancel API not working HOT 3
- Not compiling in Swift 2.3 HOT 2
- bot creation HOT 1
- Include repository fingerprint to make adjusting bots easier
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xcodeserversdk.