MeetYouDevs / cocoapods-imy-bin

1.05k stars 244 forks source link

spec push失败 #123

Open ezm-templates opened 3 years ago

ezm-templates commented 3 years ago

/Users/xuchang/Desktop/ios/pods-debug.xcconfig /Users/xuchang/Desktop/ios/cordova /Users/xuchang/Desktop/ios/EMCenterModule.podspec ====== cocoapods-imy-bin 0.3.1.3 版本 ========

====== dev 环境 ========

====== dev 环境 ======== [pod gen] Running with pod gen configuration { podfile_path: /Users/xuchang/Desktop/ios/Podfile, podfile: Podfile, use_podfile: true, use_podfile_plugins: true, podfile_plugins: {"cocoapods-imy-bin"=>{}}, lockfile: #, use_lockfile: true, use_lockfile_versions: true, use_libraries: false, generate_multiple_pod_projects: false, incremental_installation: false, gen_directory: /Users/xuchang/Desktop/ios-build-temp/bin-archive, auto_open: false, clean: true, podspec_paths: [#<Pathname:/Users/xuchang/Desktop/ios/EMCenterModule.podspec>, #<Pathname:/Users/xuchang/Desktop/ios/EMCenterModule.podspec>], podspecs: [#, #], sources: ["http://git.supconit.com/mobile/emobilespecs.git", "http://git.supconit.com/mobile/hcmobile-plugin-basis.git", "http://git.supconit.com/mobile/emobilespecs.git", "http://git.supconit.com/mobile/hcmobile-plugin-basis.git", "https://cdn.cocoapods.org"], local_sources: [], repo_update: false, use_default_plugins: false, deterministic_uuids: false, share_schemes_for_development_pods: true, warn_for_multiple_pod_sources: false, use_modular_headers: false }

Generating EMCenterModule in ../ios-build-temp/bin-archive/EMCenterModule Cleaning gen install directory Creating stub application Writing Podfile

Installing... Installing AFNetworking (4.0.0) Installing BlocksKit (2.2.5) Installing EMCenterModule (0.1.7) Installing EMCordova (0.2.1) Installing FDFullscreenPopGesture (1.1) Installing IQKeyboardManager (6.5.5) Installing MBProgressHUD (1.2.0) Installing Masonry (1.1.0) Installing Reachability (3.2) Installing SAMKeychain (1.5.3) Installing SDWebImage (4.4.3) Installing YYCache (1.0.4) Installing YYCategories (1.0.4)

[!] Please close any current Xcode sessions and use EMCenterModule.xcworkspace for this project from now on. Pod installation complete! There is 1 dependency from the Podfile and 13 total pods installed.

Performing post-installation steps Open ../ios-build-temp/bin-archive/EMCenterModule/EMCenterModule.xcworkspace to work on EMCenterModule

Building static framework EMCenterModule (0.1.7) command = xcodebuild GCC_PREPROCESSOR_DEFINITIONS='$(inherited)' ARCHS='arm64' OTHER_CFLAGS='-fembed-bitcode -Qunused-arguments' CONFIGURATION_BUILD_DIR=/Users/xuchang/Desktop/ios-build-temp/bin-archive/EMCenterModule/build-arm64 clean build -configuration Debug -target EMCenterModule -project ./Pods/Pods.xcodeproj 2>&1 command = xcodebuild GCC_PREPROCESSOR_DEFINITIONS='$(inherited)' ARCHS='armv7' OTHER_CFLAGS='-fembed-bitcode -Qunused-arguments' CONFIGURATION_BUILD_DIR=/Users/xuchang/Desktop/ios-build-temp/bin-archive/EMCenterModule/build-armv7 clean build -configuration Debug -target EMCenterModule -project ./Pods/Pods.xcodeproj 2>&1 Building simulator libraries command = xcodebuild GCC_PREPROCESSOR_DEFINITIONS='$(inherited)' -sdk iphonesimulator ARCHS='x86_64' CONFIGURATION_BUILD_DIR=/Users/xuchang/Desktop/ios-build-temp/bin-archive/EMCenterModule/build-x86_64 clean build -configuration Debug -target EMCenterModule -project ./Pods/Pods.xcodeproj 2>&1

Building framework EMCenterModule (0.1.7)

Updating Spec Repositories

更新私有源仓库 EMSpecsRepos 更新私有源仓库 supconit-mobile-hcmobile-plugin-basis $ /usr/bin/git -C /Users/xuchang/.cocoapods/repos/EMSpecsRepos fetch origin --progress $ /usr/bin/git -C /Users/xuchang/.cocoapods/repos/supconit-mobile-hcmobile-plugin-basis fetch origin --progress $ /usr/bin/git -C /Users/xuchang/.cocoapods/repos/EMSpecsRepos rev-parse --abbrev-ref HEAD $ /usr/bin/git -C /Users/xuchang/.cocoapods/repos/supconit-mobile-hcmobile-plugin-basis rev-parse --abbrev-ref HEAD master master $ /usr/bin/git -C /Users/xuchang/.cocoapods/repos/EMSpecsRepos reset --hard origin/master $ /usr/bin/git -C /Users/xuchang/.cocoapods/repos/supconit-mobile-hcmobile-plugin-basis reset --hard origin/master HEAD is now at c148a05 [Update] EMCenterModule (0.1.7) HEAD is now at 1f45fd6 remove

[!] ====== cocoapods-imy-bin 0.3.1.3 版本 ========

[!] ====== dev 环境 ========

[!] 【EMCenterModule | 0.1.7】组件spec push失败 .

miroda commented 3 years ago

看下你这个库是不是framework的 看下你的frameworks接口是不是有一个这个库

ezm-templates commented 3 years ago

看下你这个库是不是framework的 看下你的frameworks接口是不是有一个这个库

这是我们的私有库

Pod::Spec.new do |s| s.name = 'EMCenterModule' s.version = '0.1.7' s.summary = 'Easy Mobile Center Plugin'

s.description = <<-DESC Easy Mobile Center Plugin DESC s.homepage = 'http://git.supconit.com/mobile' s.source = { :git => 'http://git.supconit.com/mobile/hbile-plgin-center.git', :tag => s.version.to_s } s.platform = :ios s.ios.deployment_target = '9.0' s.requires_arc = true

s.resource_bundles = { 'EMCenterModule' => ['src/ios/*.xib'] }

s.static_framework = true

pod库的源文件

s.source_files = "src/ios/*.{h,m}","src/ios/*/.{h,m}" s.exclude_files = "src/ios/Frameworks"

s.dependency "EMCordova"

s.dependency "YYCache",'1.0.4' s.dependency "FDFullscreenPopGesture",'1.1' s.dependency "YYCategories",'1.0.4' s.dependency "MBProgressHUD",'1.2.0' s.dependency "BlocksKit",'2.2.5' s.dependency "SAMKeychain",'1.5.3' s.dependency "Reachability",'3.2' s.dependency "AFNetworking",'4.0.0' s.dependency "SDWebImage",'4.4.3' s.dependency "IQKeyboardManager",'6.5.5' s.dependency "Masonry",'1.1.0'

end

ezm-templates commented 3 years ago

frameworks接口是空的,{}

miroda commented 3 years ago

需呀看线bin-zip下是否有合成包,如果这一步没有达成,说明还没有合成成功

ezm-templates commented 3 years ago

需呀看线bin-zip下是否有合成包,如果这一步没有达成,说明还没有合成成功

没有合成成功,文件夹是空的

miroda commented 3 years ago

那就接着去 temp/bin-archive/你的应用名字/build build-arm64查看下,如果这里没有生成成功的话,就说明xcodebuild命令没有生效,很多库现在都无法编译成功

ezm-templates commented 3 years ago

那就接着去 temp/bin-archive/你的应用名字/build build-arm64查看下,如果这里没有生成成功的话,就说明xcodebuild命令没有生效,很多库现在都无法编译成功

这些都生成成功了

miroda commented 3 years ago

这个情况 和我在最新一个issue里面提到的都是一样的 ,无法生成

ezm-templates commented 3 years ago

这个情况 和我在最新一个issue里面提到的都是一样的 ,无法生成

可否说的详细一点?是我配置有误,还是目前有些地方在不支持?

ezm-templates commented 3 years ago

这个情况 和我在最新一个issue里面提到的都是一样的 ,无法生成

查看了你最新的issue,我发现你刚开始也是什么错误也没有,后来不知道你修改了什么配置,又出现了错误信息。我现在这边什么错误信息也没有输出