Hi,
I am new to using Bitrise. Its great but I am having an issue uploading my first app. The app is an iOS app that uses Cocoapods. I was able to do the first two steps in the process. But when I do the third step of validation, I get an error about not finding a user defined project path even though it detected the .xcodeproj file and that it detected a Podfile. Here is a screenshot of the error from the build log:
I am not sure what I am doing wrong at this step. Because I am using Cocoapods and it has a workspace file, do I need to do a manually configuration instead without the validation scanner?
1 Like
Hi,
Thanks for reporting @eman6576 !
Weβll check this ASAP (@godreikrisztian & @tamaspapik ping ) - in the meantime you can use the βskip scannerβ option, to only validate the repository access - related docs: http://devcenter.bitrise.io/adding-a-new-app/setting-up-configuration/#skipping-the-scanner-full-manual-configuration
Oh ok, I also opened an issue here in the corresponding repo for the scanner: https://github.com/bitrise-steplib/steps-project-scanner/issues/31
1 Like
Thank you @eman6576 - the guys will check this ASAP, itβs at the top of their task list (just bumped it there )
Hi @eman6576 ,
thanks for the report!
May i ask you to:
share your Podfileβs content with us?
share your repositoryβs file list (by calling tree . -L 3
in your project root directory and copy-past the output) with us?
tree
is available as a brew package, on macOS you can install it with: brew install tree
1 Like
.
βββ BaseApp
β βββ AppDelegate.h
β βββ AppDelegate.m
β βββ Base.lproj
β β βββ LTF.storyboard
β β βββ LaunchScreen.xib
β β βββ Localizable.strings
β βββ BaseApp-Bridging-Header.h
β βββ BaseAppTests-Bridging-Header.h
β βββ Categories
β β βββ LTFCategories
β βββ Config.h
β βββ Constants.swift
β βββ Images.xcassets
β β βββ AppIcon.appiconset
β β βββ Backgrounds
β β βββ Buttons
β β βββ Contents.json
β β βββ Icons
β β βββ LTFIcons
β β βββ LaunchImage.launchimage
β β βββ Map
β β βββ Misc
β β βββ Navbar
β β βββ Placeholders
β β βββ Segmented
β β βββ Tabbar
β βββ Info.plist
β βββ Models
β β βββ AbstractManagedModel.h
β β βββ AbstractManagedModel.m
β β βββ AbstractModel.h
β β βββ AbstractModel.m
β β βββ Device.h
β β βββ Device.m
β β βββ ExtendedError.h
β β βββ ExtendedError.m
β β βββ LTFModels
β β βββ Model.xcdatamodeld
β β βββ User.h
β β βββ User.m
β βββ Resources
β β βββ Configs
β β βββ Fonts
β β βββ Locations
β βββ ServiceClasses
β β βββ Factories
β β βββ LTFServiceClasses
β β βββ Paginators
β β βββ Singletons
β βββ ViewControllers
β β βββ BaseVCs
β β βββ LTFVCs
β βββ Views
β β βββ Buttons
β β βββ Cells
β β βββ LTFViews
β β βββ TextFields
β βββ en.lproj
β β βββ LaunchScreen.strings
β β βββ Localizable.strings
β βββ main.m
βββ BaseApp.xcodeproj
β βββ project.pbxproj
β βββ project.xcworkspace
β β βββ contents.xcworkspacedata
β β βββ xcshareddata
β βββ xcuserdata
β βββ Emanuel.xcuserdatad
βββ BaseApp.xcworkspace
β βββ contents.xcworkspacedata
β βββ xcuserdata
β βββ Emanuel.xcuserdatad
βββ BaseAppTests
β βββ BaseAppTests.m
β βββ Info.plist
βββ Crashlytics.framework
β βββ Crashlytics -> Versions/Current/Crashlytics
β βββ Headers -> Versions/Current/Headers
β βββ Modules
β β βββ module.modulemap
β βββ Resources -> Versions/Current/Resources
β βββ Versions
β β βββ A
β β βββ Current -> A
β βββ run
β βββ submit
βββ DerivedData
β βββ BaseApp
β β βββ Build
β β βββ FindHistory.xcfind
β β βββ Index
β β βββ Logs
β β βββ TextIndex
β β βββ info.plist
β β βββ scm.plist
β βββ ModuleCache
β βββ 110DKMZJETNYZ
β βββ 12VZRDMNES8W6
β βββ 1738FWIY8HXFQ
β βββ 1HKOGZZTYP53A
β βββ 1KIYVL4HQOUCR
β βββ 1MBWXQN0HWNUP
β βββ 1O0AYPHUWOGA7
β βββ 1PL6WG8TARVLG
β βββ 1RLNMMKXN82OT
β βββ 1Z7VMNW6M1Q8I
β βββ 20UKTMWORSO8G
β βββ 221VWQM4Y1NLY
β βββ 22H798Z81D05Q
β βββ 26A0F1VH5H9FU
β βββ 28MTWK6N5EXZZ
β βββ 29UPEUIAGVBAP
β βββ 2BV93RK2CM4XX
β βββ 2CAOJ9MKGU55R
β βββ 2F9VK53NXE26B
β βββ 2MOQHUFBZCVPA
β βββ 2NKNV66B6X1PX
β βββ 2YAEXG8HJ75JP
β βββ 314OQ67TVPXIS
β βββ 34X3JUA4WGZJ3
β βββ 37Y8MJ6ZLUL3A
β βββ 39SZQAPMXLDCL
β βββ 3D33K6X2T780T
β βββ 3DF8HTKB90T12
β βββ 3DSYJEJ5PEKGZ
β βββ 3E6BS24YVX83I
β βββ 3F4ULMVIGOK6
β βββ 3HYK6QZ75CA1M
β βββ 3ILU1AFFNH9TQ
β βββ 3VJOYD5VJFX0I
β βββ 6H3UBEJPUFXJ
β βββ CZ16W85ZMWRG
β βββ GWH66BEBRM51
β βββ GZNMILCRAPP9
β βββ HBW0CSBKLZMJ
β βββ HBYIFS2L9DDI
β βββ ILM7NRT15UTA
β βββ MJOGAXGAM3X0
β βββ QNOHEY9CJBTT
β βββ Session.modulevalidation
β βββ UXQQ9Q6MJ0AS
β βββ W6GA70VANX63
β βββ W7URVYFK3BF2
β βββ W90YP202IOMF
β βββ WVVMA3XPO29R
β βββ XDX6KEC5GHHQ
β βββ YUCYCC42LBJ6
β βββ modules.timestamp
βββ History.md
βββ LinkToFitnessTests
β βββ Info.plist
β βββ LTFCategoriesTests
β β βββ LTFFormatter+ExtensionsTests.swift
β β βββ LTFString+ExtensionTests.swift
β βββ LTFModelTests
β β βββ LTFEnthusiastTests.swift
β β βββ LTFMuscleGroupTests.swift
β β βββ LTFProgramTests.swift
β β βββ LTFSectionTests.swift
β β βββ LTFTrainerCertificationTests.swift
β β βββ LTFTrainerLanguageTests.swift
β β βββ LTFTrainerTests.swift
β β βββ LTFUserTests.swift
β β βββ LTFWorkoutTests.swift
β βββ LTFServiceClassTests
β β βββ LTFFactoryTests
β β βββ LTFPaginatorTests
β β βββ LTFUtilityTests
β βββ LTFSingletonTests
β β βββ LTFAgeGroupManagerTests.swift
β β βββ LTFAuthenicationManagerTests.swift
β β βββ LTFConfigManagerTests.swift
β β βββ LTFCustomFieldManagerTests.swift
β β βββ LTFEnthusiastManagerTests.swift
β β βββ LTFExerciseManagerTests.swift
β β βββ LTFLanguageManagerTests.swift
β β βββ LTFMuscleGroupManagerTests.swift
β β βββ LTFProgramManagerTests.swift
β β βββ LTFTrainerCertificationManagerTests.swift
β β βββ LTFTrainerEducationManagerTests.swift
β β βββ LTFTrainerExperienceManagerTests.swift
β β βββ LTFTrainerLanguageManagerTests.swift
β β βββ LTFTrainerManagerTests.swift
β β βββ LTFWorkoutManagerTests.swift
β βββ LTFTestResources
β β βββ LTFTestHelpers
β β βββ LTFTestJSON
β βββ LinkToFitnessTests.swift
βββ Podfile
βββ Podfile.lock
βββ Pods
β βββ AIFlatSwitch
β β βββ LICENSE
β β βββ README.md
β β βββ Source
β βββ AKPickerView
β β βββ AKPickerViewSample
β β βββ LICENSE
β β βββ README.md
β βββ ActionSheetPicker-3.0
β β βββ LICENSE
β β βββ Pickers
β β βββ README.md
β βββ BPXLUUIDHandler
β β βββ BPXLUUIDHandler.h
β β βββ BPXLUUIDHandler.m
β β βββ README.markdown
β βββ BRYSerialAnimationQueue
β β βββ Classes
β β βββ LICENSE
β β βββ README.md
β βββ BubbleTransition
β β βββ LICENSE
β β βββ README.md
β β βββ Source
β βββ CRToast
β β βββ CRToast
β β βββ LICENSE
β β βββ README.md
β βββ CircleProgressBar
β β βββ CircleProgressBarDemo
β β βββ LICENSE
β β βββ README.md
β βββ CocoaLumberjack
β β βββ Classes
β β βββ Framework
β β βββ LICENSE.txt
β β βββ README.md
β βββ Cosmos
β β βββ Cosmos
β β βββ LICENSE
β β βββ README.md
β βββ Crashlytics
β β βββ Crashlytics.framework
β β βββ README.md
β β βββ iOS
β β βββ submit
β βββ DZNEmptyDataSet
β β βββ LICENSE
β β βββ README.md
β β βββ Source
β βββ Fabric
β β βββ Fabric.framework
β β βββ README.md
β β βββ iOS
β β βββ run
β β βββ upload-symbols
β β βββ uploadDSYM
β βββ Fusuma
β β βββ LICENSE
β β βββ README.md
β β βββ Sources
β βββ GoogleAnalytics
β β βββ Libraries
β β βββ Sources
β βββ Headers
β β βββ Private
β β βββ Public
β βββ IQKeyboardManager
β β βββ IQKeyboardManager
β β βββ LICENSE.md
β β βββ README.md
β βββ ISO8601DateFormatterValueTransformer
β β βββ Code
β β βββ LICENSE
β β βββ README.md
β βββ KIF
β β βββ Additions
β β βββ Classes
β β βββ LICENSE
β β βββ README.md
β βββ KIF-Kiwi
β β βββ LICENSE
β β βββ Pod
β β βββ README.md
β βββ Kiwi
β β βββ Classes
β β βββ License.txt
β β βββ Readme.md
β βββ Local\ Podspecs
β β βββ BPXLUUIDHandler.podspec.json
β β βββ BubbleTransition.podspec.json
β β βββ Cosmos.podspec.json
β β βββ PTPopupWebView.podspec.json
β β βββ SCLAlertView.podspec.json
β β βββ YTVimeoExtractor.podspec.json
β βββ MGSwipeTableCell
β β βββ LICENSE
β β βββ MGSwipeTableCell
β β βββ README.md
β βββ MMSegmentSlider
β β βββ LICENSE
β β βββ MMSegmentSlider
β β βββ README.md
β βββ Manifest.lock
β βββ NVActivityIndicatorView
β β βββ LICENSE
β β βββ NVActivityIndicatorView
β β βββ README.md
β βββ OHHTTPStubs
β β βββ LICENSE
β β βββ OHHTTPStubs
β β βββ README.md
β βββ PTPopupWebView
β β βββ LICENSE
β β βββ Pod
β β βββ README.md
β βββ Pods.xcodeproj
β β βββ project.pbxproj
β β βββ xcuserdata
β βββ RKCLLocationValueTransformer
β β βββ Code
β β βββ LICENSE
β β βββ README.md
β βββ RKValueTransformers
β β βββ Code
β β βββ LICENSE
β β βββ README.md
β βββ RestKit
β β βββ Code
β β βββ LICENSE
β β βββ README.md
β βββ SCLAlertView
β β βββ LICENCE
β β βββ README.md
β β βββ SCLAlertView
β βββ SOCKit
β β βββ LICENSE
β β βββ README.mdown
β β βββ SOCKit.h
β β βββ SOCKit.m
β βββ SSBouncyButton
β β βββ LICENSE
β β βββ README.md
β β βββ SSBouncyButton
β βββ SVProgressHUD
β β βββ LICENSE.txt
β β βββ README.md
β β βββ SVProgressHUD
β βββ Target\ Support\ Files
β β βββ AIFlatSwitch
β β βββ AKPickerView
β β βββ ActionSheetPicker-3.0
β β βββ BPXLUUIDHandler
β β βββ BRYSerialAnimationQueue
β β βββ BubbleTransition
β β βββ CRToast
β β βββ CircleProgressBar
β β βββ CocoaLumberjack
β β βββ Cosmos
β β βββ DZNEmptyDataSet
β β βββ Fusuma
β β βββ IQKeyboardManager
β β βββ ISO8601DateFormatterValueTransformer
β β βββ KIF
β β βββ KIF-Kiwi
β β βββ Kiwi
β β βββ MGSwipeTableCell
β β βββ MMSegmentSlider
β β βββ NVActivityIndicatorView
β β βββ OHHTTPStubs
β β βββ PTPopupWebView
β β βββ Pods
β β βββ Pods-BaseAppTests
β β βββ Pods-LinkToFitnessTests
β β βββ RKCLLocationValueTransformer
β β βββ RKValueTransformers
β β βββ RestKit
β β βββ SCLAlertView
β β βββ SOCKit
β β βββ SSBouncyButton
β β βββ SVProgressHUD
β β βββ TransitionKit
β β βββ UIColor-Hex
β β βββ UIImage+BetterAdditions
β β βββ UITextField+Shake
β β βββ XLPagerTabStrip
β β βββ YTVimeoExtractor
β β βββ YYCache
β β βββ YYImage
β β βββ YYWebImage
β β βββ iCarousel
β β βββ pop
β βββ TransitionKit
β β βββ Code
β β βββ LICENSE
β β βββ README.md
β βββ UIColor-Hex
β β βββ Classes
β β βββ LICENSE
β β βββ README.md
β βββ UIImage+BetterAdditions
β β βββ LICENSE.txt
β β βββ README.md
β β βββ UIImage+BetterAdditions.h
β β βββ UIImage+BetterAdditions.m
β βββ UITextField+Shake
β β βββ LICENSE
β β βββ README.md
β β βββ Source
β βββ XLPagerTabStrip
β β βββ LICENSE
β β βββ README.md
β β βββ Sources
β βββ YTVimeoExtractor
β β βββ LICENSE
β β βββ README.md
β β βββ YTVimeoExtractor
β βββ YYCache
β β βββ LICENSE
β β βββ README.md
β β βββ YYCache
β βββ YYImage
β β βββ LICENSE
β β βββ README.md
β β βββ YYImage
β βββ YYWebImage
β β βββ LICENSE
β β βββ README.md
β β βββ YYWebImage
β βββ iCarousel
β β βββ LICENCE.md
β β βββ README.md
β β βββ iCarousel
β βββ pop
β βββ LICENSE
β βββ README.md
β βββ pop
βββ README.md
@godreikrisztian Above is the repoβs file list as well as the Podfile in use. Now the syntax of the Podfile looks outdated because for this repo, we are using version 0.39.0 for Cocoapods.
Hi @eman6576 ,
thanks for the infos. Could you please share the Podfileβs content in copy-past ready format (just copy-past the content). I would make some tests with your Podfile. If it contains private informations we can continue the conversation on bitrise on-site-chat.
platform :ios, '8.0'
inhibit_all_warnings!
use_frameworks!
target 'LinkToFitness' do
pod 'ActionSheetPicker-3.0'
pod 'AIFlatSwitch', '~> 1.0.1'
pod 'AKPickerView', '~> 0.2.7'
pod 'BPXLUUIDHandler', :git => 'https://github.com/silverlogic/BPXLUUIDHandler.git'
pod 'BubbleTransition', :git => 'https://github.com/andreamazz/BubbleTransition.git'
pod 'CircleProgressBar', '~> 0.32'
pod 'CocoaLumberjack', '~> 2.0'
pod 'Cosmos', :git => 'https://github.com/marketplacer/Cosmos.git'
pod 'Crashlytics', '~> 3.8'
pod 'CRToast', '~> 0.0.7'
pod 'DZNEmptyDataSet', '~> 1.8.1'
pod 'Fusuma', '~> 1.0'
pod 'GoogleAnalytics', '~> 3.17'
#pod 'GraphKit', '~> 1.1'
pod 'iCarousel', '~> 1.8.2'
pod 'IQKeyboardManager'
pod 'MGSwipeTableCell', '~> 1.5'
pod 'MMSegmentSlider', '~> 1.0.3'
pod 'NVActivityIndicatorView', '~> 3.0'
pod 'pop', '~> 1.0'
pod 'PTPopupWebView', :git => 'https://github.com/pjocprac/PTPopupWebView.git'
pod 'RestKit', '~> 0.27'
pod 'RKCLLocationValueTransformer', '~> 1.1'
#pod 'SocketRocket', '~> 0.3'
pod 'SCLAlertView', :git => 'https://github.com/vikmeup/SCLAlertView-Swift'
pod 'SSBouncyButton', '~> 1.0'
pod 'SVProgressHUD'
#pod 'SVPullToRefresh', '~> 0.4'
#pod 'TestFlightSDK', '~> 3.0'
pod 'UITextField+Shake', '~> 1.1'
pod 'XLPagerTabStrip', '~> 6.0'
pod 'YTVimeoExtractor', :git => 'https://github.com/lilfaf/YTVimeoExtractor', :commit => '44103fb06a102c7376ccd593b427f21154c8643d'
pod 'YYWebImage'
target 'BaseAppTests' do
inherit! :search_paths
pod 'KIF-Kiwi'
end
target 'LinkToFitnessTests' do
inherit! :search_paths
pod 'OHHTTPStubs'
pod 'OHHTTPStubs/Swift'
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['ENABLE_STRICT_OBJC_MSGSEND'] = "NO"
config.build_settings['SWIFT_VERSION'] = '3.0'
end
end
end
1 Like
@godreikrisztian Here is the copy/paste version. We also recently migrated from version 0.39.0 to version 1.2.0 of Cocoapods.
Did you try to register the repo after the migration to CococaPods 1.2.0 ? Did that fail too?
That actually worked after migrating over and sharing the scheme.
1 Like
Should be fixed in:
bitrise-init update to 1.1.3:
write scan result to file even if scanner fails, or does not find any known platform, to allow bitrise.io website to print proper error message in case of failed add new app
use cocoapods-core gem version which matches the one specified in Podfile.lock, to analyse Podfile & determine xcode project-workspace mapping, to avoid errors like: Pod:: DSLError
If youβd see this Pod:: DSLError
error again (or any other scanner/analyzer issue during Add New App), please let us know!
1 Like