gomobile-ipfs icon indicating copy to clipboard operation
gomobile-ipfs copied to clipboard

looking for build instructions (iOS)

Open novocodev opened this issue 4 years ago • 20 comments

I'm trying to build the project for testing on iOS, I can't find any build instructions.

I have tried using the Makefile, but I am unable to successfully run any of the targets.

I tried various build targets, without luck, I guessed core was the base dependency and tried "make build_core.ios"

/Users/ajres/projects/go/bin/gomobile: /Users/ajres/projects/go/bin/gobind -lang=go,objc -outdir=/var/folders/qg/z2z6dspj3wz035snflhkf3vh0000gn/T/gomobile-work-188711949 -tags=ios github.com/ipfs-shipyard/gomobile-ipfs/go/bind/core failed: exit status 1 no exported names in the package "github.com/ipfs-shipyard/gomobile-ipfs/go/bind/core" no exported names in the package "github.com/ipfs-shipyard/gomobile-ipfs/go/bind/core" no exported names in the package "github.com/ipfs-shipyard/gomobile-ipfs/go/bind/core" no exported names in the package "github.com/ipfs-shipyard/gomobile-ipfs/go/bind/core"

make: *** [/Users/ajres/projects/gomobile-ipfs/packages/build/ios/intermediates/core/Core.framework] Error 1

novocodev avatar Sep 09 '20 17:09 novocodev

I also meet a bunch of problem when I try to build the dependency of swift, wish official can give a right instruction to help us.

StarsTesla avatar Oct 04 '20 15:10 StarsTesla

Hello, sorry for the late answer

I tried various build targets, without luck, I guessed core was the base dependency and tried "make build_core.ios"

make build_core.ios inside packages, should be the right command to build the framework for ios. can you try:

  • pull master (there are some commits ahead),
  • remove the vendor folder (if any)
  • use go > 1.14

I also meet a bunch of problem when I try to build the dependency of swift, wish official can give a right instruction to help us.

what kind of problem did you meet?

gfanton avatar Oct 12 '20 09:10 gfanton

For example, Can you write instruction of building for detail, when I try to wrapper core for ios, I always cannot get done for the dependencies or the problem similar above from @novocodev, anyway, if you write a complete build README, I will appreciate that, really.

StarsTesla avatar Oct 13 '20 02:10 StarsTesla

i'm trying to get some IPFS support into my swift package, hitting a brick wall at every turn. In the short term if you aren't supporting SPM, would it be possible for you to modify your scripts to bundle everything up as an .xcframework, manually run it, zip it up and host it under a github release?

These guys did the same thing as they couldn't invest the time to update their repo. So they created a separate repo to hold the xcframework and created a Package.swift to make it easier to consume: https://github.com/hewigovens/wallet-core-spm

simonmcl avatar Jul 06 '21 16:07 simonmcl

@simonmcl I just updated Core.framework to Core.xcframework on https://github.com/ipfs-shipyard/gomobile-ipfs/pull/72 to support arm64 simulator and catalyst, and I'm currently working on fixing the CI and deployment on android and iOS. I will take the opportunity to update the main framework GomobileIPFS.framework to an xcframework.

gfanton avatar Jul 07 '21 16:07 gfanton

I got this error trying to build the framework for ios

packages % make build_core.ios

  Go: installing modules        

go mod download go install golang.org/x/mobile/cmd/gomobile go install golang.org/x/mobile/cmd/gobind go run golang.org/x/mobile/cmd/gomobile init -v

Done, build took 0s. Done!

  Go: installing modules        

go mod download go install golang.org/x/mobile/cmd/gomobile go install golang.org/x/mobile/cmd/gobind go run golang.org/x/mobile/cmd/gomobile init -v

Done, build took 0s. Done!

  Go: installing modules        

go mod download go install golang.org/x/mobile/cmd/gomobile go install golang.org/x/mobile/cmd/gobind go run golang.org/x/mobile/cmd/gomobile init -v

Done, build took 0s. Done!

 iOS Core: Gomobile binding     

go run golang.org/x/mobile/cmd/gomobile bind -target=ios -o /Users/javiergarcia/Documents/Xtr/gomobile-ipfs/packages/build/ios/intermediates/core/Core.xcframework github.com/ipfs-shipyard/gomobile-ipfs/go/bind/core [debug] goenv: [GOOS=darwin GOARCH=arm64 CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang CXX=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ CGO_CFLAGS=-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk -mios-simulator-version-min=7.0 -fembed-bitcode -arch arm64 CGO_CXXFLAGS=-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk -mios-simulator-version-min=7.0 -fembed-bitcode -arch arm64 CGO_LDFLAGS=-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk -mios-simulator-version-min=7.0 -fembed-bitcode -arch arm64 CGO_ENABLED=1 ARCH=arm64 GOPATH=/var/folders/mv/34x2fvms22xb97ymgmxc66f40000gn/T/gomobile-work-4101706618:/Users/javiergarcia/go] /var/folders/mv/34x2fvms22xb97ymgmxc66f40000gn/T/go-build4082413303/b001/exe/gomobile: darwin-arm64: go build -tags ios -buildmode=c-archive -o /var/folders/mv/34x2fvms22xb97ymgmxc66f40000gn/T/gomobile-work-4101706618/Core-arm64.a ./gobind failed: exit status 2

gobind/gobind

go.info.net.resolvConf: relocation target go.info.github.com/ipfs-shipyard/gomobile-ipfs/go/bind/core.resolverConfig not defined

exit status 1 make: *** [/Users/javiergarcia/Documents/Xtr/gomobile-ipfs/packages/build/ios/intermediates/core/Core.xcframework] Error 1

Garciconx avatar Nov 26 '21 16:11 Garciconx

@simonmcl I just updated Core.framework to Core.xcframework on #72 to support arm64 simulator and catalyst, and I'm currently working on fixing the CI and deployment on android and iOS. I will take the opportunity to update the main framework GomobileIPFS.framework to an xcframework.

Hello @novocodev . Did this update resolve your build error?

jefft0 avatar Jul 04 '22 13:07 jefft0

Hello @Garciconx . Except for the error with maccatalyst, I am able to build on macOS 11 with xcode 13.2.1 and macOS 12 with Xcode 13.4.1 . What version of macOS and Xcode do you have?

jefft0 avatar Jul 05 '22 11:07 jefft0

Hello @novocodev and @Garciconx . See the comments above. If you don't have a response then this issue will be closed as inactive in 14 days.

jefft0 avatar Aug 09 '22 08:08 jefft0

I got similar error.

  • master branch

  • macOS Monterey 12.5 iMac (Retina 5K, 27-inch, 2020)

  • Xcode Version 13.4.1 (13F100)

  • go version go1.18.4 darwin/amd64


make build_demo.ios                                                                                                                                                                                (git)[master]
mkdir -p /Users/******/Developer/gomobile-ipfs/packages/build/ios/intermediates/app/ipa
------------------------------------
      Go: installing modules        
------------------------------------
go mod download
go install golang.org/x/mobile/cmd/gomobile
go install golang.org/x/mobile/cmd/gobind
go run golang.org/x/mobile/cmd/gomobile init -v

Done, build took 0s.
Done!
------------------------------------
      Go: installing modules        
------------------------------------
go mod download
go install golang.org/x/mobile/cmd/gomobile
go install golang.org/x/mobile/cmd/gobind
go run golang.org/x/mobile/cmd/gomobile init -v

Done, build took 0s.
Done!
------------------------------------
      Go: installing modules        
------------------------------------
go mod download
go install golang.org/x/mobile/cmd/gomobile
go install golang.org/x/mobile/cmd/gobind
go run golang.org/x/mobile/cmd/gomobile init -v

Done, build took 0s.
Done!
------------------------------------
     iOS Core: Gomobile binding     
------------------------------------
go run golang.org/x/mobile/cmd/gomobile bind  -target=ios,macos,maccatalyst -o /Users/******/Developer/gomobile-ipfs/packages/build/ios/intermediates/core/Core.xcframework github.com/ipfs-shipyard/gomobile-ipfs/go/bind/core 
/var/folders/36/9hlk9bzx1bz4qw8m2g87mlth0000gn/T/go-build874222111/b001/exe/gomobile: ios/arm64: go build -buildmode=c-archive -o /var/folders/36/9hlk9bzx1bz4qw8m2g87mlth0000gn/T/gomobile-work-2913769664/Core-ios-arm64.a ./gobind failed: exit status 2
# github.com/lucas-clemente/quic-go/internal/qtls
/var/folders/36/9hlk9bzx1bz4qw8m2g87mlth0000gn/T/gomobile-work-2913769664/ios/pkg/mod/github.com/lucas-clemente/[email protected]/internal/qtls/go118.go:6:13: cannot use "quic-go doesn't build on Go 1.18 yet." (untyped string constant) as int value in variable declaration

exit status 1
make: *** [/Users/******/Developer/gomobile-ipfs/packages/build/ios/intermediates/core/Core.xcframework] Error 1

nc163 avatar Aug 10 '22 13:08 nc163

@nc163 , we are working on a pull request to support go1.18. https://github.com/ipfs-shipyard/gomobile-ipfs/pull/130

You have a few options:

  • Build with go1.17
  • Temporarily merge the changes in the pull request in your local repo
  • Wait for the pull request to be merged

jefft0 avatar Aug 10 '22 13:08 jefft0

@jefft0 Thank you for your prompt reply. I tried go1.17.5 and some errors disappeared, but the following errors occurred.


...
...
------------------------------------
     iOS Core: Gomobile binding     
------------------------------------
go run golang.org/x/mobile/cmd/gomobile bind  -target=ios,macos,maccatalyst -o /Users/******/Developer/gomobile-ipfs/packages/build/ios/intermediates/core/Core.xcframework github.com/ipfs-shipyard/gomobile-ipfs/go/bind/core 
/var/folders/36/9hlk9bzx1bz4qw8m2g87mlth0000gn/T/go-build2726804262/b001/exe/gomobile: maccatalyst/arm64: go build -buildmode=c-archive -o /var/folders/36/9hlk9bzx1bz4qw8m2g87mlth0000gn/T/gomobile-work-3140711505/Core-maccatalyst-arm64.a ./gobind failed: exit status 2
# runtime/cgo
clang: error: invalid version number in '-target arm64-apple-ios13.0-macabi'

exit status 1
make: *** [/Users/******/Developer/gomobile-ipfs/packages/build/ios/intermediates/core/Core.xcframework] Error 1

nc163 avatar Aug 10 '22 14:08 nc163

I wrote the wrong version.. $ go version go1.17.13 darwin/amd64

nc163 avatar Aug 10 '22 14:08 nc163

What do you see if you enter make test_bridge.ios ?

jefft0 avatar Aug 10 '22 14:08 jefft0

I got the following


make test_bridge.ios                                                                                                                                                              (git)[master]
------------------------------------
      Go: installing modules        
------------------------------------
go mod download
go install golang.org/x/mobile/cmd/gomobile
go install golang.org/x/mobile/cmd/gobind
go run golang.org/x/mobile/cmd/gomobile init -v

Done, build took 0s.
Done!
------------------------------------
      Go: installing modules        
------------------------------------
go mod download
go install golang.org/x/mobile/cmd/gomobile
go install golang.org/x/mobile/cmd/gobind
go run golang.org/x/mobile/cmd/gomobile init -v

Done, build took 0s.
Done!
------------------------------------
      Go: installing modules        
------------------------------------
go mod download
go install golang.org/x/mobile/cmd/gomobile
go install golang.org/x/mobile/cmd/gobind
go run golang.org/x/mobile/cmd/gomobile init -v

Done, build took 0s.
Done!
------------------------------------
     iOS Core: Gomobile binding     
------------------------------------
go run golang.org/x/mobile/cmd/gomobile bind  -target=ios,macos,maccatalyst -o /Users/******/Developer/gomobile-ipfs/packages/build/ios/intermediates/core/Core.xcframework github.com/ipfs-shipyard/gomobile-ipfs/go/bind/core 
/var/folders/36/9hlk9bzx1bz4qw8m2g87mlth0000gn/T/go-build40388007/b001/exe/gomobile: maccatalyst/arm64: go build -buildmode=c-archive -o /var/folders/36/9hlk9bzx1bz4qw8m2g87mlth0000gn/T/gomobile-work-3349165954/Core-maccatalyst-arm64.a ./gobind failed: exit status 2
# runtime/cgo
clang: error: invalid version number in '-target arm64-apple-ios13.0-macabi'

exit status 1
make: *** [/Users/******/Developer/gomobile-ipfs/packages/build/ios/intermediates/core/Core.xcframework] Error 1

nc163 avatar Aug 10 '22 14:08 nc163

I have a fresh virtual machine with your configuration (macOS 12.5, Xcode 13.4.1). I am able reproduce your build error. I do not get this error on a fresh virtual machine with macOS 11.6.8 and Xcode 13.2.1. So on macOS 12.5, I reinstalled Xcode 13.2.1 and it builds.

Is it possible for you to try Xcode 13.2.1?

NOTE: If you see the error "While building for the iOS Simulator, no library for this platform was found", then you can add iossimulator to the targets in https://github.com/ipfs-shipyard/gomobile-ipfs/blob/master/packages/Makefile#L138 . The line should look like the following. (We haven't committed this change because we will soon refactor the Makefile.)

$(GOMOBILE) bind $(GOMOBILE_OPT) -target=ios,iossimulator,macos,maccatalyst$(GOMOBILE_TARGET) -o $(IOS_CORE) $(CORE_PACKAGE) $(EXT_PACKAGE)

jefft0 avatar Aug 11 '22 08:08 jefft0

I tried.

$ make build_demo.ios

...
------------------------------------
  iOS Demo: XCode building archive  
------------------------------------
xcodebuild archive \
                -workspace /Users/******/Developer/gomobile-ipfs/packages/../ios/Example.xcworkspace \
                -scheme Example \
                -configuration Release \
                -sdk iphoneos \
                -archivePath /Users/******/Developer/gomobile-ipfs/packages/build/ios/intermediates/app/archive/app-release.xcarchive
Command line invocation:
    /Applications/Xcode_13.2.1.app/Contents/Developer/usr/bin/xcodebuild archive -workspace /Users/******/Developer/gomobile-ipfs/packages/../ios/Example.xcworkspace -scheme Example -configuration Release -sdk iphoneos -archivePath /Users/******/Developer/gomobile-ipfs/packages/build/ios/intermediates/app/archive/app-release.xcarchive

User defaults from command line:
    IDEArchivePathOverride = /Users/******/Developer/gomobile-ipfs/packages/build/ios/intermediates/app/archive/app-release.xcarchive
    IDEPackageSupportUseBuiltinSCM = YES

Build settings from command line:
    SDKROOT = iphoneos15.2

--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
{ platform:iOS Simulator, id:3C264DDE-E0F8-4DBE-B2BF-F142AA23B403, OS:15.2, name:iPad (9th generation) }
{ platform:iOS Simulator, id:A7B6C676-5042-4657-9DE4-19D14AB41E94, OS:15.2, name:iPad Air (4th generation) }
{ platform:iOS Simulator, id:B9B9DC4E-955B-4163-98F5-3448DC435920, OS:15.2, name:iPad Pro (9.7-inch) }
{ platform:iOS Simulator, id:29C2C7D4-2D32-4E25-B47D-09B215670AB5, OS:15.2, name:iPad Pro (11-inch) (3rd generation) }
{ platform:iOS Simulator, id:51194E81-F300-41E7-8D53-2804E5074C8E, OS:15.2, name:iPad Pro (12.9-inch) (5th generation) }
{ platform:iOS Simulator, id:82E5C5AD-4E3B-4492-990F-5427D1DD6780, OS:15.2, name:iPad mini (6th generation) }
{ platform:iOS Simulator, id:296FD39E-B79E-4B23-B23C-E19D87FDEC8D, OS:15.2, name:iPhone 8 }
{ platform:iOS Simulator, id:2DFB13CF-EC2B-4D0D-A2E6-B0F8F097911A, OS:15.2, name:iPhone 8 Plus }
{ platform:iOS Simulator, id:775150D8-0A36-41BE-AB86-31BB910DAADF, OS:15.2, name:iPhone 11 }
{ platform:iOS Simulator, id:D1368A88-41B1-42FC-AEE9-C53D94238F2A, OS:15.2, name:iPhone 11 Pro }
{ platform:iOS Simulator, id:9D945AFB-459B-47CC-91E0-9FF4092A07D8, OS:15.2, name:iPhone 11 Pro Max }
{ platform:iOS Simulator, id:83A40B5C-00C7-4625-916D-E508CCB46C75, OS:15.2, name:iPhone 12 }
{ platform:iOS Simulator, id:B5356F34-2D56-4662-A5A9-30DCA611ED12, OS:15.2, name:iPhone 12 Pro }
{ platform:iOS Simulator, id:829A041B-ADE6-48EC-931F-2763CAE1B07A, OS:15.2, name:iPhone 12 Pro Max }
{ platform:iOS Simulator, id:4AAEA311-DD0A-419E-A9C6-81F32F8793D2, OS:15.2, name:iPhone 12 mini }
{ platform:iOS Simulator, id:58FE1FE2-2374-4028-ADD6-CC81DAECE7AA, OS:15.2, name:iPhone 13 }
{ platform:iOS Simulator, id:C1AAC13C-BEDC-4A6D-9A48-EB63B382761C, OS:15.2, name:iPhone 13 Pro }
{ platform:iOS Simulator, id:8F0CE38A-E61A-4EC9-BCDD-E9FA45122EF5, OS:15.2, name:iPhone 13 Pro Max }
{ platform:iOS Simulator, id:EB8C325A-CAA0-4235-87D0-06DB4A63DE91, OS:15.2, name:iPhone 13 mini }
{ platform:iOS Simulator, id:F67000A5-C1A6-4BF8-8575-8D027121771A, OS:15.2, name:iPhone SE (2nd generation) }
{ platform:iOS Simulator, id:A9E5D195-F5EA-4F58-9350-6DBFF341056B, OS:15.2, name:iPod touch (7th generation) }
note: Using new build system
note: Planning
Analyze workspace

Create build description
Build description signature: e9a4feae8b694dd59ac157adf6537beb
Build description path: /Users/******/Library/Developer/Xcode/DerivedData/Example-culbvufbkpuexxadxgjckcumfcqu/Build/Intermediates.noindex/ArchiveIntermediates/Example/IntermediateBuildFilesPath/XCBuildData/e9a4feae8b694dd59ac157adf6537beb-desc.xcbuild

note: Build preparation complete
note: Building targets in dependency order
error: No profile for team 'GR5463T564' matching 'gomobile-ipfs in-house' found: Xcode couldn't find any provisioning profiles matching 'GR5463T564/gomobile-ipfs in-house'. Install the profile (by dragging and dropping it onto Xcode's dock item) or select a different one in the Signing & Capabilities tab of the target editor. (in target 'Example' from project 'Example')
** ARCHIVE FAILED **

make: *** [/Users/******/Developer/gomobile-ipfs/packages/build/ios/intermediates/app/archive/app-release.xcarchive] Error 65
make test_bridge.ios 


CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler (in target 'GomobileIPFSTests' from project 'GomobileIPFS')
    cd /Users/******/Developer/gomobile-ipfs/ios/Bridge
    export DEVELOPER_DIR\=/Applications/Xcode_13.2.1.app/Contents/Developer
    export SDKROOT\=/Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk
    /Applications/Xcode_13.2.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -incremental -module-name GomobileIPFSTests -Onone -enable-batch-mode -enforce-exclusivity\=checked @/Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/Objects-normal/x86_64/GomobileIPFSTests.SwiftFileList -DDEBUG -sdk /Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk -target x86_64-apple-ios12.0-simulator -g -module-cache-path /Users/******/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Index/DataStore -swift-version 5 -I /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Products/Debug-iphonesimulator -I /Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib -F /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Products/Debug-iphonesimulator -F /Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks -F /Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/Developer/Library/Frameworks -c -j6 -output-file-map /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/Objects-normal/x86_64/GomobileIPFSTests-OutputFileMap.json -parseable-output -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/Objects-normal/x86_64/GomobileIPFSTests.swiftmodule -Xcc -I/Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/GomobileIPFSTests-generated-files.hmap -Xcc -I/Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/GomobileIPFSTests-own-target-headers.hmap -Xcc -I/Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/GomobileIPFSTests-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/GomobileIPFSTests-project-headers.hmap -Xcc -I/Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Products/Debug-iphonesimulator/include -Xcc -I/Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/DerivedSources-normal/x86_64 -Xcc -I/Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/DerivedSources/x86_64 -Xcc -I/Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/DerivedSources -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/Objects-normal/x86_64/GomobileIPFSTests-Swift.h -working-directory /Users/******/Developer/gomobile-ipfs/ios/Bridge -Xfrontend -serialize-debugging-options
CompileSwift normal x86_64 /Users/******/Developer/gomobile-ipfs/ios/Bridge/GomobileIPFSTests/RequestIPFSTests.swift (in target 'GomobileIPFSTests' from project 'GomobileIPFS')
    cd /Users/******/Developer/gomobile-ipfs/ios/Bridge
    /Applications/Xcode_13.2.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/******/Developer/gomobile-ipfs/ios/Bridge/GomobileIPFSTests/ConfigIPFSTest.swift /Users/******/Developer/gomobile-ipfs/ios/Bridge/GomobileIPFSTests/BasicIPFSClassTests.swift -primary-file /Users/******/Developer/gomobile-ipfs/ios/Bridge/GomobileIPFSTests/RequestIPFSTests.swift -emit-module-path /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/Objects-normal/x86_64/RequestIPFSTests\~partial.swiftmodule -emit-module-doc-path /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/Objects-normal/x86_64/RequestIPFSTests\~partial.swiftdoc -emit-module-source-info-path /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/Objects-normal/x86_64/RequestIPFSTests\~partial.swiftsourceinfo -emit-dependencies-path /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/Objects-normal/x86_64/RequestIPFSTests.d -emit-reference-dependencies-path /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/Objects-normal/x86_64/RequestIPFSTests.swiftdeps -serialize-diagnostics-path /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/Objects-normal/x86_64/RequestIPFSTests.dia -target x86_64-apple-ios12.0-simulator -enable-objc-interop -sdk /Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk -I /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Products/Debug-iphonesimulator -I /Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib -F /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Products/Debug-iphonesimulator -F /Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks -F /Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/Developer/Library/Frameworks -enable-testing -g -module-cache-path /Users/******/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -Onone -D DEBUG -new-driver-path /Applications/Xcode_13.2.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-driver -serialize-debugging-options -serialize-debugging-options -Xcc -working-directory -Xcc /Users/******/Developer/gomobile-ipfs/ios/Bridge -resource-dir /Applications/Xcode_13.2.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/GomobileIPFSTests-generated-files.hmap -Xcc -I/Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/GomobileIPFSTests-own-target-headers.hmap -Xcc -I/Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/GomobileIPFSTests-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/GomobileIPFSTests-project-headers.hmap -Xcc -I/Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Products/Debug-iphonesimulator/include -Xcc -I/Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/DerivedSources-normal/x86_64 -Xcc -I/Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/DerivedSources/x86_64 -Xcc -I/Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/DerivedSources -Xcc -DDEBUG\=1 -module-name GomobileIPFSTests -target-sdk-version 15.2.0 -o /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/Objects-normal/x86_64/RequestIPFSTests.o -index-store-path /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Index/DataStore -index-system-modules

CompileSwift normal x86_64 /Users/******/Developer/gomobile-ipfs/ios/Bridge/GomobileIPFSTests/BasicIPFSClassTests.swift (in target 'GomobileIPFSTests' from project 'GomobileIPFS')
    cd /Users/******/Developer/gomobile-ipfs/ios/Bridge
    /Applications/Xcode_13.2.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/******/Developer/gomobile-ipfs/ios/Bridge/GomobileIPFSTests/ConfigIPFSTest.swift -primary-file /Users/******/Developer/gomobile-ipfs/ios/Bridge/GomobileIPFSTests/BasicIPFSClassTests.swift /Users/******/Developer/gomobile-ipfs/ios/Bridge/GomobileIPFSTests/RequestIPFSTests.swift -emit-module-path /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/Objects-normal/x86_64/BasicIPFSClassTests\~partial.swiftmodule -emit-module-doc-path /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/Objects-normal/x86_64/BasicIPFSClassTests\~partial.swiftdoc -emit-module-source-info-path /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/Objects-normal/x86_64/BasicIPFSClassTests\~partial.swiftsourceinfo -emit-dependencies-path /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/Objects-normal/x86_64/BasicIPFSClassTests.d -emit-reference-dependencies-path /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/Objects-normal/x86_64/BasicIPFSClassTests.swiftdeps -serialize-diagnostics-path /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/Objects-normal/x86_64/BasicIPFSClassTests.dia -target x86_64-apple-ios12.0-simulator -enable-objc-interop -sdk /Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk -I /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Products/Debug-iphonesimulator -I /Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib -F /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Products/Debug-iphonesimulator -F /Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks -F /Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/Developer/Library/Frameworks -enable-testing -g -module-cache-path /Users/******/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -Onone -D DEBUG -new-driver-path /Applications/Xcode_13.2.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-driver -serialize-debugging-options -serialize-debugging-options -Xcc -working-directory -Xcc /Users/******/Developer/gomobile-ipfs/ios/Bridge -resource-dir /Applications/Xcode_13.2.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/GomobileIPFSTests-generated-files.hmap -Xcc -I/Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/GomobileIPFSTests-own-target-headers.hmap -Xcc -I/Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/GomobileIPFSTests-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/GomobileIPFSTests-project-headers.hmap -Xcc -I/Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Products/Debug-iphonesimulator/include -Xcc -I/Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/DerivedSources-normal/x86_64 -Xcc -I/Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/DerivedSources/x86_64 -Xcc -I/Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/DerivedSources -Xcc -DDEBUG\=1 -module-name GomobileIPFSTests -target-sdk-version 15.2.0 -o /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/Objects-normal/x86_64/BasicIPFSClassTests.o -index-store-path /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Index/DataStore -index-system-modules

CompileSwift normal x86_64 /Users/******/Developer/gomobile-ipfs/ios/Bridge/GomobileIPFSTests/ConfigIPFSTest.swift (in target 'GomobileIPFSTests' from project 'GomobileIPFS')
    cd /Users/******/Developer/gomobile-ipfs/ios/Bridge
    /Applications/Xcode_13.2.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/******/Developer/gomobile-ipfs/ios/Bridge/GomobileIPFSTests/ConfigIPFSTest.swift /Users/******/Developer/gomobile-ipfs/ios/Bridge/GomobileIPFSTests/BasicIPFSClassTests.swift /Users/******/Developer/gomobile-ipfs/ios/Bridge/GomobileIPFSTests/RequestIPFSTests.swift -emit-module-path /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/Objects-normal/x86_64/ConfigIPFSTest\~partial.swiftmodule -emit-module-doc-path /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/Objects-normal/x86_64/ConfigIPFSTest\~partial.swiftdoc -emit-module-source-info-path /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/Objects-normal/x86_64/ConfigIPFSTest\~partial.swiftsourceinfo -emit-dependencies-path /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/Objects-normal/x86_64/ConfigIPFSTest.d -emit-reference-dependencies-path /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/Objects-normal/x86_64/ConfigIPFSTest.swiftdeps -serialize-diagnostics-path /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/Objects-normal/x86_64/ConfigIPFSTest.dia -target x86_64-apple-ios12.0-simulator -enable-objc-interop -sdk /Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk -I /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Products/Debug-iphonesimulator -I /Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib -F /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Products/Debug-iphonesimulator -F /Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks -F /Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/Developer/Library/Frameworks -enable-testing -g -module-cache-path /Users/******/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -Onone -D DEBUG -new-driver-path /Applications/Xcode_13.2.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-driver -serialize-debugging-options -serialize-debugging-options -Xcc -working-directory -Xcc /Users/******/Developer/gomobile-ipfs/ios/Bridge -resource-dir /Applications/Xcode_13.2.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/GomobileIPFSTests-generated-files.hmap -Xcc -I/Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/GomobileIPFSTests-own-target-headers.hmap -Xcc -I/Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/GomobileIPFSTests-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/GomobileIPFSTests-project-headers.hmap -Xcc -I/Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Products/Debug-iphonesimulator/include -Xcc -I/Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/DerivedSources-normal/x86_64 -Xcc -I/Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/DerivedSources/x86_64 -Xcc -I/Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/DerivedSources -Xcc -DDEBUG\=1 -module-name GomobileIPFSTests -target-sdk-version 15.2.0 -o /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Intermediates.noindex/GomobileIPFS.build/Debug-iphonesimulator/GomobileIPFSTests.build/Objects-normal/x86_64/ConfigIPFSTest.o -index-store-path /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Index/DataStore -index-system-modules

Command CompileSwiftSources failed with a nonzero exit code
PBXCp /Users/******/Developer/gomobile-ipfs/packages/build/ios/intermediates/core/Core.xcframework/ios-arm64_x86_64-simulator/Core.framework /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Products/Debug-iphonesimulator/GomobileIPFS.framework/Frameworks/Core.framework (in target 'GomobileIPFS' from project 'GomobileIPFS')
    cd /Users/******/Developer/gomobile-ipfs/ios/Bridge
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -exclude Headers -exclude PrivateHeaders -exclude Modules -exclude \*.tbd -resolve-src-symlinks /Users/******/Developer/gomobile-ipfs/packages/build/ios/intermediates/core/Core.xcframework/ios-arm64_x86_64-simulator/Core.framework /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Products/Debug-iphonesimulator/GomobileIPFS.framework/Frameworks

CodeSign /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Products/Debug-iphonesimulator/GomobileIPFS.framework/Frameworks/CoreBluetooth.framework (in target 'GomobileIPFS' from project 'GomobileIPFS')
    cd /Users/******/Developer/gomobile-ipfs/ios/Bridge
    export CODESIGN_ALLOCATE\=/Applications/Xcode_13.2.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
    
    Signing Identity:     "-"
    
    /usr/bin/codesign --force --sign - --timestamp\=none --preserve-metadata\=identifier,entitlements,flags --generate-entitlement-der /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Products/Debug-iphonesimulator/GomobileIPFS.framework/Frameworks/CoreBluetooth.framework
/Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Products/Debug-iphonesimulator/GomobileIPFS.framework/Frameworks/CoreBluetooth.framework: bundle format unrecognized, invalid, or unsuitable
Command CodeSign failed with a nonzero exit code


Test session results, code coverage, and logs:
        /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Logs/Test/Test-GomobileIPFS-2022.08.12_23-57-07-+0900.xcresult

Testing failed:
        Command CompileSwiftSources failed with a nonzero exit code
        Command CodeSign failed with a nonzero exit code
        Testing cancelled because the build failed.

** TEST FAILED **


The following build commands failed:
        CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler (in target 'GomobileIPFSTests' from project 'GomobileIPFS')
        CodeSign /Users/******/Library/Developer/Xcode/DerivedData/GomobileIPFS-cgajbctlhsotkrfmytyatdhjxdsk/Build/Products/Debug-iphonesimulator/GomobileIPFS.framework/Frameworks/CoreBluetooth.framework (in target 'GomobileIPFS' from project 'GomobileIPFS')
(2 failures)
make: *** [test_bridge.ios] Error 65

nc163 avatar Aug 12 '22 15:08 nc163

It looks like the problem is:

 ... bundle format unrecognized, invalid, or unsuitable
 Command CodeSign failed with a nonzero exit code

I've never seen this before (and I'm not an Xcode expert).

It look like you did get a lot farther with Xcode 13.2.1. So it appears that Xcode 13.4.1 was a problem. I created bug #131 . Fixing this bug to compile is probably the best solution to you.

jefft0 avatar Aug 12 '22 16:08 jefft0

I want to run on IOS, so I set makefire to ios/arm64,iossimulator. And, I doing some other changes, but the following error remained

error: No profile for team 'GR5463T564' matching 'gomobile-ipfs in-house' found: Xcode couldn't find any provisioning profiles matching 'GR5463T564/gomobile-ipfs in-house'. Install the profile (by dragging and dropping it onto Xcode's dock item) or select a different one in the Signing & Capabilities tab of the target editor. (in target 'Example' from project 'Example')

Do you have any advice on how to solve this problem?

nc163 avatar Aug 14 '22 05:08 nc163

As mentioned here https://github.com/ipfs-shipyard/gomobile-ipfs/issues/131#issuecomment-1250742976 , the new Makefile seems to resolve the build error on iOS.

Also there is now an INSTALL file with clear instructions to install prerequisites. https://github.com/ipfs-shipyard/gomobile-ipfs/blob/master/INSTALL.md

Is this issue resolved? If there is no more comment, this issue will be closed as resolved in 14 days. Thank you.

jefft0 avatar Sep 27 '22 09:09 jefft0