【问题标题】:Attempted to initialize an object with an unknown UUID when building IOS ipa for codenameone Charts在构建 IOS ipa for codenameone Charts 时尝试初始化具有未知 UUID 的对象
【发布时间】:2017-07-14 15:59:57
【问题描述】:

当我尝试从 https://github.com/codenameone/Charts 构建 ipa 时,CODENAME ONE BUILD SERVER 引发上述 IOS 构建错误。

模拟器运行正常,甚至编译android apk也没有任何构建错误。

已在此处报告并修复了类似问题 => https://groups.google.com/forum/#!msg/codenameone-discussions/N-N6eU9y7sk/cnDY2jQFBAAJ

我必须对日志进行分块,因为帖子表单限制为 30 000 个字符:

Parsing: /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build6171032898102630775xxx/classes/java/util/TreeMap$SubMapValuesCollection.class
Parsing: /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build6171032898102630775xxx/classes/java/util/TreeMap$TreeMapEntry.class
Parsing: /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build6171032898102630775xxx/classes/java/util/TreeMap$UnboundedEntryIterator.class
Parsing: /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build6171032898102630775xxx/classes/java/util/TreeMap$UnboundedKeyIterator.class
Parsing: /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build6171032898102630775xxx/classes/java/util/TreeMap$UnboundedValueIterator.class
Parsing: /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build6171032898102630775xxx/classes/java/util/TreeMap.class
Parsing: /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build6171032898102630775xxx/classes/java/util/TreeSet.class
Parsing: /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build6171032898102630775xxx/classes/java/util/Vector$1.class
Parsing: /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build6171032898102630775xxx/classes/java/util/Vector.class
outputDirectory is: /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build6171032898102630775xxx/dist/ChartsDemo-src
Rewrite /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build6171032898102630775xxx/dist/ChartsDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata with 1 changes
Rewrite /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build6171032898102630775xxx/dist/ChartsDemo.xcodeproj/project.pbxproj with 58 changes
Rewrite /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build6171032898102630775xxx/dist/ChartsDemo-src/ChartsDemo-Info.plist with 5 changes
Executing: echo chmod 0755 /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build6171032898102630775xxx/hooks/fix_xcode_schemes.rb chmod 0755 /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build6171032898102630775xxx/hooks/fix_xcode_schemes.rb
Executing: chmod 0755 /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build6171032898102630775xxx/hooks/fix_xcode_schemes.rb Executing: echo /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build6171032898102630775xxx/hooks/fix_xcode_schemes.rb /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build6171032898102630775xxx/hooks/fix_xcode_schemes.rb
Executing: /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build6171032898102630775xxx/hooks/fix_xcode_schemes.rb `<PBXGroup name=`Frameworks` UUID=`0F634E7718E9ABBC002F3D1D`>` attempted to initialize an object with an unknown UUID. `0F634EA218E9ABBC002F3D1D` for attribute: `children`. This can be the result of a merge and  the unknown UUID is being discarded.
`<PBXGroup name=`Products` UUID=`0F634E7618E9ABBC002F3D1D`>` attempted to initialize an object with an unknown UUID. `0F634EA118E9ABBC002F3D1D` for attribute: `children`. This can be the result of a merge and  the unknown UUID is being discarded.
`<PBXNativeTarget name=`ChartsDemoTests` UUID=`0F634EA018E9ABBC002F3D1D`>` attempted to initialize an object with an unknown UUID. `0F634EA118E9ABBC002F3D1D` for attribute: `product_reference`. This can be the result of a merge and  the unknown UUID is being discarded.
`<PBXFrameworksBuildPhase UUID=`0F634E9E18E9ABBC002F3D1D`>` attempted to initialize an object with an unknown UUID. `0F634EA318E9ABBC002F3D1D` for attribute: `files`. This can be the result of a merge and  the unknown UUID is being discarded.
`<PBXFrameworksBuildPhase UUID=`0F634E9E18E9ABBC002F3D1D`>` attempted to initialize an object with an unknown UUID. `0F634EA418E9ABBC002F3D1D` for attribute: `files`. This can be the result of a merge and  the unknown UUID is being discarded.
`<PBXResourcesBuildPhase UUID=`0F634E9F18E9ABBC002F3D1D`>` attempted to initialize an object with an unknown UUID. `0F634EAD18E9ABBC002F3D1D` for attribute: `files`. This can be the result of a merge and  the unknown UUID is being discarded.
Error during processing: undefined method `path' for nil:NilClass
Backtrace:
    /Library/Ruby/Gems/2.0.0/gems/xcodeproj-1.1.0/lib/xcodeproj/scheme/buildable_reference.rb:89:in `construct_buildable_name'
    /Library/Ruby/Gems/2.0.0/gems/xcodeproj-1.1.0/lib/xcodeproj/scheme/buildable_reference.rb:59:in `set_reference_target'
    /Library/Ruby/Gems/2.0.0/gems/xcodeproj-1.1.0/lib/xcodeproj/scheme/buildable_reference.rb:16:in `block in initialize'
    /Library/Ruby/Gems/2.0.0/gems/xcodeproj-1.1.0/lib/xcodeproj/scheme/xml_element_wrapper.rb:53:in `create_xml_element_with_fallback'
    /Library/Ruby/Gems/2.0.0/gems/xcodeproj-1.1.0/lib/xcodeproj/scheme/buildable_reference.rb:14:in `initialize'
    /Library/Ruby/Gems/2.0.0/gems/xcodeproj-1.1.0/lib/xcodeproj/scheme/build_action.rb:96:in `new'
    /Library/Ruby/Gems/2.0.0/gems/xcodeproj-1.1.0/lib/xcodeproj/scheme/build_action.rb:96:in `block in initialize'
    /Library/Ruby/Gems/2.0.0/gems/xcodeproj-1.1.0/lib/xcodeproj/scheme/xml_element_wrapper.rb:53:in `create_xml_element_with_fallback'
    /Library/Ruby/Gems/2.0.0/gems/xcodeproj-1.1.0/lib/xcodeproj/scheme/build_action.rb:77:in `initialize'
    /Library/Ruby/Gems/2.0.0/gems/xcodeproj-1.1.0/lib/xcodeproj/scheme.rb:186:in `new'
    /Library/Ruby/Gems/2.0.0/gems/xcodeproj-1.1.0/lib/xcodeproj/scheme.rb:186:in `add_build_target'
    /Library/Ruby/Gems/2.0.0/gems/xcodeproj-1.1.0/lib/xcodeproj/project.rb:756:in `block in recreate_user_schemes'
    /Library/Ruby/Gems/2.0.0/gems/xcodeproj-1.1.0/lib/xcodeproj/project.rb:754:in `each'
    /Library/Ruby/Gems/2.0.0/gems/xcodeproj-1.1.0/lib/xcodeproj/project.rb:754:in `recreate_user_schemes'
    /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build6171032898102630775xxx/hooks/fix_xcode_schemes.rb:5:in `<main>'
An error occurred recreating schemes, but the build still might work...
Executing: /usr/local/bin/pod init 
[!] `<PBXGroup name=`Frameworks` UUID=`0F634E7718E9ABBC002F3D1D`>` attempted to initialize an object with an unknown UUID. `0F634EA218E9ABBC002F3D1D` for attribute: `children`. This can be the result of a merge and  the unknown UUID is being discarded.

[!] `<PBXGroup name=`Products` UUID=`0F634E7618E9ABBC002F3D1D`>` attempted to initialize an object with an unknown UUID. `0F634EA118E9ABBC002F3D1D` for attribute: `children`. This can be the result of a merge and  the unknown UUID is being discarded.

[!] `<PBXNativeTarget name=`ChartsDemoTests` UUID=`0F634EA018E9ABBC002F3D1D`>` attempted to initialize an object with an unknown UUID. `0F634EA118E9ABBC002F3D1D` for attribute: `product_reference`. This can be the result of a merge and  the unknown UUID is being discarded.

[!] `<PBXFrameworksBuildPhase UUID=`0F634E9E18E9ABBC002F3D1D`>` attempted to initialize an object with an unknown UUID. `0F634EA318E9ABBC002F3D1D` for attribute: `files`. This can be the result of a merge and  the unknown UUID is being discarded.

[!] `<PBXFrameworksBuildPhase UUID=`0F634E9E18E9ABBC002F3D1D`>` attempted to initialize an object with an unknown UUID. `0F634EA418E9ABBC002F3D1D` for attribute: `files`. This can be the result of a merge and  the unknown UUID is being discarded.

[!] `<PBXResourcesBuildPhase UUID=`0F634E9F18E9ABBC002F3D1D`>` attempted to initialize an object with an unknown UUID. `0F634EAD18E9ABBC002F3D1D` for attribute: `files`. This can be the result of a merge and  the unknown UUID is being discarded.
Executing: /usr/local/bin/pod install Analyzing dependencies
Downloading dependencies
Generating Pods project
Integrating client project

[!] Please close any current Xcode sessions and use `ChartsDemo.xcworkspace` for this project from now on.
Sending stats
Pod installation complete! There are 0 dependencies from the Podfile and 0 total pods installed.

[!] The Podfile does not contain any dependencies.

[!] `<PBXGroup name=`Frameworks` UUID=`0F634E7718E9ABBC002F3D1D`>` attempted to initialize an object with an unknown UUID. `0F634EA218E9ABBC002F3D1D` for attribute: `children`. This can be the result of a merge and  the unknown UUID is being discarded.

[!] `<PBXGroup name=`Products` UUID=`0F634E7618E9ABBC002F3D1D`>` attempted to initialize an object with an unknown UUID. `0F634EA118E9ABBC002F3D1D` for attribute: `children`. This can be the result of a merge and  the unknown UUID is being discarded.

[!] `<PBXNativeTarget name=`ChartsDemoTests` UUID=`0F634EA018E9ABBC002F3D1D`>` attempted to initialize an object with an unknown UUID. `0F634EA118E9ABBC002F3D1D` for attribute: `product_reference`. This can be the result of a merge and  the unknown UUID is being discarded.

[!] `<PBXFrameworksBuildPhase UUID=`0F634E9E18E9ABBC002F3D1D`>` attempted to initialize an object with an unknown UUID. `0F634EA318E9ABBC002F3D1D` for attribute: `files`. This can be the result of a merge and  the unknown UUID is being discarded.

[!] `<PBXFrameworksBuildPhase UUID=`0F634E9E18E9ABBC002F3D1D`>` attempted to initialize an object with an unknown UUID. `0F634EA418E9ABBC002F3D1D` for attribute: `files`. This can be the result of a merge and  the unknown UUID is being discarded.

[!] `<PBXResourcesBuildPhase UUID=`0F634E9F18E9ABBC002F3D1D`>` attempted to initialize an object with an unknown UUID. `0F634EAD18E9ABBC002F3D1D` for attribute: `files`. This can be the result of a merge and  the unknown UUID is being discarded.
openssl pkcs12 -in [password redacted] -out cert.crt.pem -password pass:passwordHidden -passout pass:password
Mac verify error: invalid password?

【问题讨论】:

    标签: codenameone achartengine ipa


    【解决方案1】:

    错误是:

    openssl pkcs12 -in [password redacted] -out cert.crt.pem -password pass:passwordHidden -passout pass:password
    
    Mac verify error: invalid password?
    

    您的 P12 证书似乎无效,我猜您没有使用证书向导生成正确的 P12 证书。

    【讨论】:

      猜你喜欢
      • 2016-08-04
      • 2021-01-09
      • 1970-01-01
      • 2023-04-03
      • 2015-10-06
      • 2010-12-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多