-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
d1:easyAn easy ticket that is a good start for first-time contributorsAn easy ticket that is a good start for first-time contributorss3:detailedIssues with in-depth explanations and examples that make it easier to troubleshootIssues with in-depth explanations and examples that make it easier to troubleshoott2:defectThese are known bugs. The issue should also contain steps to reproduce. PRs welcome!These are known bugs. The issue should also contain steps to reproduce. PRs welcome!
Description
- I've read and understood the *CONTRIBUTING guidelines and have done my best effort to follow.
Report
What did you do?
I created a new project, added a podfile and added the Nimble pod to the UITest target.
What did you expected to happen?
I expected the UITest to build and run and expected that the 📦 Embed Pods Frameworks build phase exists for the UITest.
What happened instead?
Instead the 📦 Embed Pods Frameworks build phase is missing and I get the error:
2016-05-04 12:06:11.998 XCTRunner[72780:2546682] Running tests...
2016-05-04 12:06:12.005 XCTRunner[72780:2546682] The bundle “CocoaPodsUITestBugUITests” couldn’t be loaded because it is damaged or missing necessary resources. Try reinstalling the bundle.
2016-05-04 12:06:12.005 XCTRunner[72780:2546682] (dlopen_preflight(/Users/dave/Library/Developer/Xcode/DerivedData/CocoaPodsUITestBug-ewaeojhdwdsmcegfrnbpgfiuhtsc/Build/Products/Debug-iphonesimulator/CocoaPodsUITestBugUITests-Runner.app/PlugIns/CocoaPodsUITestBugUITests.xctest/CocoaPodsUITestBugUITests): Library not loaded: @rpath/Nimble.framework/Nimble
Referenced from: /Users/dave/Library/Developer/Xcode/DerivedData/CocoaPodsUITestBug-ewaeojhdwdsmcegfrnbpgfiuhtsc/Build/Products/Debug-iphonesimulator/CocoaPodsUITestBugUITests-Runner.app/PlugIns/CocoaPodsUITestBugUITests.xctest/CocoaPodsUITestBugUITests
Reason: image not found)
Podfile
platform :ios, '8.0'
use_frameworks!
def shared_testing_pods
pod 'Nimble', '~> 4.0.0'
end
abstract_target "CocoaPodsUITestBugTargets" do
pod 'Raygun4iOS', '~> 2.2.0'
pod 'Alamofire', '~> 3.3.0'
pod 'PromiseKit', :git => 'git@github.com:mxcl/PromiseKit.git'
pod 'SwiftyJSON', '~> 2.3.2'
target 'CocoaPodsUITestBug'
target 'CocoaPodsUITestBugTests' do
shared_testing_pods
end
end
target 'CocoaPodsUITestBugUITests' do
shared_testing_pods
end
I've attached an example project. All the other tests build correctly except for UITests. When I add the build phase manually, it works.
gooner22, kdawgwilk, ajfigueroa, epologee, marcelofabri and 2 more
Metadata
Metadata
Assignees
Labels
d1:easyAn easy ticket that is a good start for first-time contributorsAn easy ticket that is a good start for first-time contributorss3:detailedIssues with in-depth explanations and examples that make it easier to troubleshootIssues with in-depth explanations and examples that make it easier to troubleshoott2:defectThese are known bugs. The issue should also contain steps to reproduce. PRs welcome!These are known bugs. The issue should also contain steps to reproduce. PRs welcome!