通过比特币建设的问题;通过xcode构建更多问题

时间:2019-06-17 11:53:46

标签: ios xcode cocoapods bitrise

我已经以某种方式发现自己试图通过bitrise构建一个应用程序以部署到testflight。我完全是新手,因此为可能看起来很愚蠢的事情道歉。

Bitrise设法构建一切,但最终拒绝部署,并在日志中引用以下内容:

public class Program
{

abstract class Animal{
    private String name;
    String latin;
}

abstract class Carnivore extends Animal{}
abstract class Herbivore extends Animal{}

interface Petable{
    public void pet();
}

class Dog extends Carnivore implements Petable{
    public void pet(){System.out.println("bark");}
}


public static void main(String[] args) {
    Dog d = new Dog();
    d.pet();
}
}

好的,我想我将克隆存储库,在xcode中打开项目,从而更新sdk版本。这似乎意味着更多问题...当我尝试在Xcode中构建项目时,遇到以下错误:

[06:06:44]: [Transporter Error Output]: description length:10500450
[06:08:55]: [Transporter Error Output]: ERROR ITMS-90725: "SDK Version Issue. This app was built with the iOS 11.4 SDK. All iOS apps submitted to the App Store must be built with the iOS 11 SDK or later, included in Xcode 9 or later. Further, starting March 2019, all iOS apps submitted to the App Store must be built with the iOS 12.1 SDK or later, included in Xcode 10.1 or later."
[06:08:55]: Transporter transfer failed.
[06:08:55]: 
[06:08:55]: description length:10500450
ERROR ITMS-90725: "SDK Version Issue. This app was built with the iOS 11.4 SDK. All iOS apps submitted to the App Store must be built with the iOS 11 SDK or later, included in Xcode 9 or later. Further, starting March 2019, all iOS apps submitted to the App Store must be built with the iOS 12.1 SDK or later, included in Xcode 10.1 or later."

除此之外,还有一些问题,包括:

Users/[...]/ios/Pods/Target Support Files/Pods-x/Pods-x.debug.xxconfig: unable to open file (in target "x" in project "x")(in target 'x')

如果我忽略此错误,将其推送并重新构建,则得到以下结果:

The file "Pods-x.release.xcconfig" couldn't be opened because there is no such file.

因此,看起来CocoaPods安装存在一些严重问题。确实,当我检查文件时,根本没有Pods文件夹-只有Podfile和Podfile.lock。 (我不知道如果没有这个,它以前怎么会很好?)

因此,我尝试通过从iOS文件夹中的终端运行Resolving dependencies of `Podfile` [!] CocoaPods could not find compatible versions for pod "DoubleConversion": In snapshot (Podfile.lock): DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`) In Podfile: DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`) None of your spec sources contain a spec satisfying the dependencies: `DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`), DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)`. You have either: * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`. * mistyped the name or version. * not added the source repo that hosts the Podspec to your Podfile. Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by default. 将CocoaPods重新安装到项目中。我在终端pod install中遇到相同的错误。 No such file or directory @ rb_sysopen -- /Users/[...]DoubleConversion.podspec产生相同的错误。另外,有人告诉我有一个新版本的CocoaPods。我使用pod update安装了该文件,该文件会在ios中生成带有子文件夹的Pods文件夹,但所有文件夹都为空。

如您所知,我有点困惑。如果项目文件中缺少CocoaPods功能的固有部分,它以前是如何构建的?我猜这是由于CocoaPods是作为Bitrise工作流的一部分安装的(确实存在),但是,如果是这样,那现在导致它在构建期间失败了吗?试图打开项目来更新所使用的引入此问题的SDK有什么用?

我敢肯定,这一切似乎有些愚蠢(至少我希望如此)。感谢您的耐心配合,我们将不胜感激。

0 个答案:

没有答案