Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to build : V2RayControl.xcframework: #428

Closed
AnitaGVMTechnologies opened this issue Feb 7, 2024 · 16 comments
Closed

Not able to build : V2RayControl.xcframework: #428

AnitaGVMTechnologies opened this issue Feb 7, 2024 · 16 comments

Comments

@AnitaGVMTechnologies
Copy link

Bug report

Hello I am using this project for connect VPN using v2Ray server

  • Device: _____ Simulator
  • OS name and version: _____ Mac OS 14.1.1 (23B81)
  • IVPN app version: _____ current code

Describe the problem

I have followed the steps as mentioned in the project read me file

When above all works but when i run this command : ./build-v2ray.sh i am getting errors

Observed Results:

[* What happened? This could be a description, log output, etc.
](gomobile: iossimulator/amd64: go build -ldflags -s -w -trimpath -buildmode=c-archive -o /var/folders/qv/fh88t52110q5v11prvqydvsw0000gn/T/gomobile-work-915894625/V2RayControl-iossimulator-amd64.a ./gobind failed: exit status 1)

Expected Results:

It should be able to build v2Ray Framework in app

  • What did you expect to happen?
  • Please provide right steps and if if you use any specific version of go then please let us know

Relevant Code:

// TODO(you): code here to reproduce the problem
@gauravkeshre
Copy link
Contributor

gauravkeshre commented Feb 7, 2024

I am facing similar issue:

I am trying to do a fresh setup of the project and have explicitly installed the gomobile and gobind using following commands:

go install golang.org/x/mobile/cmd/gobind@latest
go install golang.org/x/mobile/cmd/gomobile@latest

I get following error:

$ sh ./build-v2ray.sh                                
=> Get gomobile..
=> Build iOS library..
gomobile: iossimulator/arm64: go build -ldflags -s -w -trimpath -buildmode=c-archive -o /var/folders/dh/x7txx8pd32l5d8c4164djsf40000gn/T/gomobile-work-366588081/V2RayControl-iossimulator-arm64.a ./gobind failed: exit status 1
# github.com/v2fly/v2ray-core/v5/common/protocol/quic
/••••••••••/go/pkg/mod/github.com/v2fly/v2ray-core/v5@v5.7.0/common/protocol/quic/qtls_go120.go:13:26: undefined: qtls.CipherSuiteTLS13
/••••••••••/go/pkg/mod/github.com/v2fly/v2ray-core/v5@v5.7.0/common/protocol/quic/qtls_go120.go:17:14: undefined: qtls.AEADAESGCMTLS13
# github.com/v2fly/v2ray-core/v5/transport/internet/quic
/••••••••••/go/pkg/mod/github.com/v2fly/v2ray-core/v5@v5.7.0/transport/internet/quic/dialer.go:153:3: unknown field ConnectionIDLength in struct literal of type "github.com/quic-go/quic-go".Config
/••••••••••/go/pkg/mod/github.com/v2fly/v2ray-core/v5@v5.7.0/transport/internet/quic/dialer.go:165:20: undefined: quic.DialContext
/••••••••••/go/pkg/mod/github.com/v2fly/v2ray-core/v5@v5.7.0/transport/internet/quic/hub.go:105:3: unknown field ConnectionIDLength in struct literal of type "github.com/quic-go/quic-go".Config
/••••••••••/go/pkg/mod/github.com/v2fly/v2ray-core/v5@v5.7.0/transport/internet/quic/hub.go:128:13: cannot use qListener (variable of type *"github.com/quic-go/quic-go".Listener) as "github.com/quic-go/quic-go".Listener value in struct literal

@gauravkeshre
Copy link
Contributor

Here is the verbose output if it helps.

sh ./build-v2ray.sh
=> Get gomobile..
=> Build iOS library..
write /var/folders/dh/x7txx8pd32l5d8c4164djsf40000gn/T/gomobile-work-2310599991/iossimulator/src-arm64/go.mod
write /var/folders/dh/x7txx8pd32l5d8c4164djsf40000gn/T/gomobile-work-2310599991/iossimulator/src-amd64/go.mod
write /var/folders/dh/x7txx8pd32l5d8c4164djsf40000gn/T/gomobile-work-2310599991/ios/src-arm64/go.mod
go: found v2rayControl in v2rayControl v0.0.0-00010101000000-000000000000
go: found v2rayControl in v2rayControl v0.0.0-00010101000000-000000000000
go: found v2rayControl in v2rayControl v0.0.0-00010101000000-000000000000
unused cloud.google.com/go
unused cloud.google.com/go/accessapproval
unused cloud.google.com/go/accesscontextmanager
unused cloud.google.com/go/aiplatform
unused cloud.google.com/go/analytics
unused cloud.google.com/go/apigateway
unused cloud.google.com/go/apigeeconnect
unused cloud.google.com/go/apigeeregistry
unused cloud.google.com/go/apikeys
unused cloud.google.com/go/appengine
unused cloud.google.com/go/area120
unused cloud.google.com/go/artifactregistry
unused cloud.google.com/go/asset
unused cloud.google.com/go/assuredworkloads
unused cloud.google.com/go/automl
unused cloud.google.com/go/baremetalsolution
unused cloud.google.com/go/batch
unused cloud.google.com/go/beyondcorp
unused cloud.google.com/go/bigquery
unused cloud.google.com/go
unused cloud.google.com/go/accessapproval
unused cloud.google.com/go/accesscontextmanager
unused cloud.google.com/go/aiplatform
unused cloud.google.com/go/analytics
unused cloud.google.com/go/apigateway
unused cloud.google.com/go/apigeeconnect
unused cloud.google.com/go/apigeeregistry
unused cloud.google.com/go/billing
unused cloud.google.com/go/apikeys
unused cloud.google.com/go/appengine
unused cloud.google.com/go/area120
unused cloud.google.com/go/artifactregistry
unused cloud.google.com/go/asset
unused cloud.google.com/go/binaryauthorization
unused cloud.google.com/go/assuredworkloads
unused cloud.google.com/go/certificatemanager
unused cloud.google.com/go/automl
unused cloud.google.com/go/channel
unused cloud.google.com/go/baremetalsolution
unused cloud.google.com/go/cloudbuild
unused cloud.google.com/go/batch
unused cloud.google.com/go/clouddms
unused cloud.google.com/go/cloudtasks
unused cloud.google.com/go/compute
unused cloud.google.com/go/compute/metadata
unused cloud.google.com/go/contactcenterinsights
unused cloud.google.com/go/beyondcorp
unused cloud.google.com/go/container
unused cloud.google.com/go/bigquery
unused cloud.google.com/go/containeranalysis
unused cloud.google.com/go/billing
unused cloud.google.com/go/datacatalog
unused cloud.google.com/go/binaryauthorization
unused cloud.google.com/go/dataflow
unused cloud.google.com/go/certificatemanager
unused cloud.google.com/go/dataform
unused cloud.google.com/go/channel
unused cloud.google.com/go/datafusion
unused cloud.google.com/go/cloudbuild
unused cloud.google.com/go/datalabeling
unused cloud.google.com/go/clouddms
unused cloud.google.com/go/dataplex
unused cloud.google.com/go/cloudtasks
unused cloud.google.com/go/dataproc
unused cloud.google.com/go/compute
unused cloud.google.com/go/dataqna
unused cloud.google.com/go/compute/metadata
unused cloud.google.com/go/datastore
unused cloud.google.com/go/contactcenterinsights
unused cloud.google.com/go/datastream
unused cloud.google.com/go/container
unused cloud.google.com/go/deploy
unused cloud.google.com/go/containeranalysis
unused cloud.google.com/go/dialogflow
unused cloud.google.com/go/datacatalog
unused cloud.google.com/go/dlp
unused cloud.google.com/go/dataflow
unused cloud.google.com/go/documentai
unused cloud.google.com/go/dataform
unused cloud.google.com/go/domains
unused cloud.google.com/go/datafusion
unused cloud.google.com/go/edgecontainer
unused cloud.google.com/go/datalabeling
unused cloud.google.com/go/errorreporting
unused cloud.google.com/go/dataplex
unused cloud.google.com/go/essentialcontacts
unused cloud.google.com/go/dataproc
unused cloud.google.com/go/eventarc
unused cloud.google.com/go/dataqna
unused cloud.google.com/go/filestore
unused cloud.google.com/go/datastore
unused cloud.google.com/go/firestore
unused cloud.google.com/go/datastream
unused cloud.google.com/go/functions
unused cloud.google.com/go/deploy
unused cloud.google.com/go/gaming
unused cloud.google.com/go/dialogflow
unused cloud.google.com/go/gkebackup
unused cloud.google.com/go/dlp
unused cloud.google.com/go/gkeconnect
unused cloud.google.com/go/documentai
unused cloud.google.com/go/gkehub
unused cloud.google.com/go/domains
unused cloud.google.com/go/gkemulticloud
unused cloud.google.com/go/edgecontainer
unused cloud.google.com/go/gsuiteaddons
unused cloud.google.com/go/errorreporting
unused cloud.google.com/go/iam
unused cloud.google.com/go/essentialcontacts
unused cloud.google.com/go/iap
unused cloud.google.com/go/eventarc
unused cloud.google.com/go/ids
unused cloud.google.com/go/filestore
unused cloud.google.com/go/iot
unused cloud.google.com/go/firestore
unused cloud.google.com/go/kms
unused cloud.google.com/go/functions
unused cloud.google.com/go/language
unused cloud.google.com/go/gaming
unused cloud.google.com/go/lifesciences
unused cloud.google.com/go/gkebackup
unused cloud.google.com/go/logging
unused cloud.google.com/go/gkeconnect
unused cloud.google.com/go/longrunning
unused cloud.google.com/go/gkehub
unused cloud.google.com/go/managedidentities
unused cloud.google.com/go/gkemulticloud
unused cloud.google.com/go/maps
unused cloud.google.com/go/gsuiteaddons
unused cloud.google.com/go/mediatranslation
unused cloud.google.com/go/iam
unused cloud.google.com/go/memcache
unused cloud.google.com/go/iap
unused cloud.google.com/go/metastore
unused cloud.google.com/go/ids
unused cloud.google.com/go/monitoring
unused cloud.google.com/go/iot
unused cloud.google.com/go/networkconnectivity
unused cloud.google.com/go/kms
unused cloud.google.com/go/networkmanagement
unused cloud.google.com/go/language
unused cloud.google.com/go/networksecurity
unused cloud.google.com/go/lifesciences
unused cloud.google.com/go/notebooks
unused cloud.google.com/go/logging
unused cloud.google.com/go/optimization
unused cloud.google.com/go/longrunning
unused cloud.google.com/go/orchestration
unused cloud.google.com/go/managedidentities
unused cloud.google.com/go/orgpolicy
unused cloud.google.com/go/maps
unused cloud.google.com/go/osconfig
unused cloud.google.com/go/mediatranslation
unused cloud.google.com/go/oslogin
unused cloud.google.com/go/memcache
unused cloud.google.com/go/phishingprotection
unused cloud.google.com/go/metastore
unused cloud.google.com/go/policytroubleshooter
unused cloud.google.com/go/monitoring
unused cloud.google.com/go/privatecatalog
unused cloud.google.com/go/networkconnectivity
unused cloud.google.com/go/pubsub
unused cloud.google.com/go/networkmanagement
unused cloud.google.com/go/pubsublite
unused cloud.google.com/go/networksecurity
unused cloud.google.com/go/recaptchaenterprise/v2
unused cloud.google.com/go/notebooks
unused cloud.google.com/go/recommendationengine
unused cloud.google.com/go/optimization
unused cloud.google.com/go/recommender
unused cloud.google.com/go/orchestration
unused cloud.google.com/go/redis
unused cloud.google.com/go/orgpolicy
unused cloud.google.com/go/resourcemanager
unused cloud.google.com/go/osconfig
unused cloud.google.com/go/resourcesettings
unused cloud.google.com/go/oslogin
unused cloud.google.com/go/retail
unused cloud.google.com/go/phishingprotection
unused cloud.google.com/go/run
unused cloud.google.com/go/policytroubleshooter
unused cloud.google.com/go/scheduler
unused cloud.google.com/go/privatecatalog
unused cloud.google.com/go/secretmanager
unused cloud.google.com/go/pubsub
unused cloud.google.com/go/security
unused cloud.google.com/go/pubsublite
unused cloud.google.com/go/securitycenter
unused cloud.google.com/go/recaptchaenterprise/v2
unused cloud.google.com/go/servicecontrol
unused cloud.google.com/go/recommendationengine
unused cloud.google.com/go/servicedirectory
unused cloud.google.com/go/recommender
unused cloud.google.com/go/servicemanagement
unused cloud.google.com/go/redis
unused cloud.google.com/go/serviceusage
unused cloud.google.com/go/resourcemanager
unused cloud.google.com/go/shell
unused cloud.google.com/go/resourcesettings
unused cloud.google.com/go/spanner
unused cloud.google.com/go/retail
unused cloud.google.com/go/speech
unused cloud.google.com/go/run
unused cloud.google.com/go/storage
unused cloud.google.com/go/scheduler
unused cloud.google.com/go/storagetransfer
unused cloud.google.com/go/secretmanager
unused cloud.google.com/go/talent
unused cloud.google.com/go/security
unused cloud.google.com/go/texttospeech
unused cloud.google.com/go/securitycenter
unused cloud.google.com/go/tpu
unused cloud.google.com/go/servicecontrol
unused cloud.google.com/go/trace
unused cloud.google.com/go/servicedirectory
unused cloud.google.com/go/translate
unused cloud.google.com/go/servicemanagement
unused cloud.google.com/go/video
unused cloud.google.com/go/serviceusage
unused cloud.google.com/go/videointelligence
unused cloud.google.com/go/shell
unused cloud.google.com/go/vision/v2
unused cloud.google.com/go/spanner
unused cloud.google.com/go/vmmigration
unused cloud.google.com/go/speech
unused cloud.google.com/go/vmwareengine
unused cloud.google.com/go/storage
unused cloud.google.com/go/vpcaccess
unused cloud.google.com/go/storagetransfer
unused cloud.google.com/go/webrisk
unused cloud.google.com/go/talent
unused cloud.google.com/go/websecurityscanner
unused cloud.google.com/go/texttospeech
unused cloud.google.com/go/workflows
unused cloud.google.com/go/tpu
unused dmitri.shuralyov.com/gpu/mtl
unused cloud.google.com/go/trace
unused github.com/BurntSushi/toml
unused cloud.google.com/go/translate
unused github.com/BurntSushi/xgb
unused cloud.google.com/go/video
unused github.com/OneOfOne/xxhash
unused cloud.google.com/go/videointelligence
unused github.com/aead/cmac
unused cloud.google.com/go/vision/v2
unused github.com/ajg/form
unused cloud.google.com/go/vmmigration
unused github.com/alecthomas/template
unused cloud.google.com/go/vmwareengine
unused github.com/alecthomas/units
unused cloud.google.com/go/vpcaccess
unused github.com/andybalholm/brotli
unused cloud.google.com/go/webrisk
unused github.com/armon/circbuf
unused cloud.google.com/go/websecurityscanner
unused github.com/armon/go-metrics
unused cloud.google.com/go/workflows
unused github.com/armon/go-radix
unused dmitri.shuralyov.com/gpu/mtl
unused github.com/beorn7/perks
unused github.com/BurntSushi/toml
unused github.com/bgentry/speakeasy
unused github.com/BurntSushi/xgb
unused github.com/bketelsen/crypt
unused github.com/OneOfOne/xxhash
unused github.com/boljen/go-bitmap
unused github.com/aead/cmac
unused github.com/census-instrumentation/opencensus-proto
unused github.com/ajg/form
unused github.com/cespare/xxhash
unused github.com/alecthomas/template
unused github.com/cespare/xxhash/v2
unused github.com/alecthomas/units
unused github.com/chzyer/logex
unused github.com/andybalholm/brotli
unused github.com/chzyer/readline
unused github.com/armon/circbuf
unused github.com/chzyer/test
unused github.com/armon/go-metrics
unused github.com/client9/misspell
unused github.com/armon/go-radix
unused github.com/cncf/udpa/go
unused github.com/beorn7/perks
unused github.com/cncf/xds/go
unused github.com/bgentry/speakeasy
unused github.com/coreos/bbolt
unused github.com/bketelsen/crypt
unused github.com/coreos/etcd
unused github.com/boljen/go-bitmap
unused github.com/coreos/go-semver
unused github.com/census-instrumentation/opencensus-proto
unused github.com/coreos/go-systemd
unused github.com/cespare/xxhash
unused github.com/coreos/pkg
unused github.com/cespare/xxhash/v2
unused github.com/cpuguy83/go-md2man/v2
unused github.com/chzyer/logex
unused github.com/creack/pty
unused github.com/chzyer/readline
unused github.com/davecgh/go-spew
unused github.com/chzyer/test
unused github.com/dgrijalva/jwt-go
unused github.com/client9/misspell
unused github.com/dgryski/go-sip13
unused github.com/cncf/udpa/go
unused github.com/dvyukov/go-fuzz
unused github.com/cncf/xds/go
unused github.com/envoyproxy/go-control-plane
unused github.com/coreos/bbolt
unused github.com/envoyproxy/protoc-gen-validate
unused github.com/coreos/etcd
unused github.com/fatih/color
unused github.com/coreos/go-semver
unused github.com/francoispqt/gojay
unused github.com/coreos/go-systemd
unused github.com/fsnotify/fsnotify
unused github.com/coreos/pkg
unused github.com/gaukas/godicttls
unused github.com/cpuguy83/go-md2man/v2
unused github.com/ghodss/yaml
unused github.com/creack/pty
unused github.com/go-chi/chi/v5
unused github.com/davecgh/go-spew
unused github.com/go-chi/render
unused github.com/dgrijalva/jwt-go
unused github.com/go-gl/glfw
unused github.com/dgryski/go-sip13
unused github.com/dvyukov/go-fuzz
unused github.com/envoyproxy/go-control-plane
unused github.com/envoyproxy/protoc-gen-validate
unused github.com/go-kit/kit
unused github.com/go-logfmt/logfmt
unused github.com/fatih/color
unused github.com/go-logr/logr
unused github.com/francoispqt/gojay
unused github.com/go-playground/locales
unused github.com/fsnotify/fsnotify
unused github.com/go-playground/universal-translator
unused github.com/gaukas/godicttls
unused github.com/go-playground/validator/v10
unused github.com/ghodss/yaml
unused github.com/go-stack/stack
unused github.com/go-chi/chi/v5
unused github.com/gogo/protobuf
unused github.com/go-chi/render
unused github.com/golang/glog
unused github.com/go-gl/glfw
unused github.com/golang/groupcache
unused github.com/go-kit/kit
unused github.com/google/btree
unused github.com/go-logfmt/logfmt
unused github.com/google/go-cmp
unused github.com/go-logr/logr
unused github.com/google/martian
unused github.com/go-playground/locales
unused github.com/google/renameio
unused github.com/go-playground/universal-translator
unused github.com/google/uuid
unused github.com/go-playground/validator/v10
unused github.com/googleapis/gax-go/v2
unused github.com/go-stack/stack
unused github.com/gopherjs/gopherjs
unused github.com/gogo/protobuf
unused github.com/gopherjs/websocket
unused github.com/golang/glog
unused github.com/grpc-ecosystem/go-grpc-middleware
unused github.com/golang/groupcache
unused github.com/grpc-ecosystem/go-grpc-prometheus
unused github.com/google/btree
unused github.com/grpc-ecosystem/grpc-gateway
unused github.com/google/go-cmp
unused github.com/hashicorp/consul/api
unused github.com/google/martian
unused github.com/hashicorp/consul/sdk
unused github.com/google/renameio
unused github.com/hashicorp/errwrap
unused github.com/google/uuid
unused github.com/hashicorp/go-cleanhttp
unused github.com/googleapis/gax-go/v2
unused github.com/hashicorp/go-immutable-radix
unused github.com/gopherjs/gopherjs
unused github.com/hashicorp/go-msgpack
unused github.com/gopherjs/websocket
unused github.com/hashicorp/go-multierror
unused github.com/grpc-ecosystem/go-grpc-middleware
unused github.com/hashicorp/go-rootcerts
unused github.com/grpc-ecosystem/go-grpc-prometheus
unused github.com/hashicorp/go-sockaddr
unused github.com/grpc-ecosystem/grpc-gateway
unused github.com/hashicorp/go-syslog
unused github.com/hashicorp/consul/api
unused github.com/hashicorp/go-uuid
unused github.com/hashicorp/consul/sdk
unused github.com/hashicorp/go.net
unused github.com/hashicorp/errwrap
unused github.com/hashicorp/golang-lru
unused github.com/hashicorp/go-cleanhttp
unused github.com/hashicorp/hcl
unused github.com/hashicorp/go-immutable-radix
unused github.com/hashicorp/logutils
unused github.com/hashicorp/go-msgpack
unused github.com/hashicorp/mdns
unused github.com/hashicorp/go-multierror
unused github.com/hashicorp/memberlist
unused github.com/hashicorp/go-rootcerts
unused github.com/hashicorp/serf
unused github.com/hashicorp/go-sockaddr
unused github.com/ianlancetaylor/demangle
unused github.com/hashicorp/go-syslog
unused github.com/inconshreveable/mousetrap
unused github.com/hashicorp/go-uuid
unused github.com/jhump/gopoet
unused github.com/hashicorp/go.net
unused github.com/jhump/goprotoc
unused github.com/hashicorp/golang-lru
unused github.com/jonboulle/clockwork
unused github.com/hashicorp/hcl
unused github.com/json-iterator/go
unused github.com/hashicorp/logutils
unused github.com/jstemmer/go-junit-report
unused github.com/hashicorp/mdns
unused github.com/jtolds/gls
unused github.com/hashicorp/memberlist
unused github.com/julienschmidt/httprouter
unused github.com/hashicorp/serf
unused github.com/kisielk/errcheck
unused github.com/ianlancetaylor/demangle
unused github.com/kisielk/gotool
unused github.com/inconshreveable/mousetrap
unused github.com/klauspost/compress
unused github.com/jhump/gopoet
unused github.com/klauspost/cpuid
unused github.com/jhump/goprotoc
unused github.com/klauspost/reedsolomon
unused github.com/jonboulle/clockwork
unused github.com/konsorten/go-windows-terminal-sequences
unused github.com/json-iterator/go
unused github.com/kr/logfmt
unused github.com/kr/pretty
unused github.com/kr/pty
unused github.com/leodido/go-urn
unused github.com/magiconair/properties
unused github.com/jstemmer/go-junit-report
unused github.com/mattn/go-colorable
unused github.com/jtolds/gls
unused github.com/mattn/go-isatty
unused github.com/julienschmidt/httprouter
unused github.com/matttproud/golang_protobuf_extensions
unused github.com/kisielk/errcheck
unused github.com/miekg/dns
unused github.com/kisielk/gotool
unused github.com/mitchellh/cli
unused github.com/klauspost/compress
unused github.com/mitchellh/go-homedir
unused github.com/klauspost/cpuid
unused github.com/mitchellh/go-testing-interface
unused github.com/klauspost/reedsolomon
unused github.com/mitchellh/gox
unused github.com/konsorten/go-windows-terminal-sequences
unused github.com/mitchellh/iochan
unused github.com/kr/logfmt
unused github.com/kr/pretty
unused github.com/kr/pty
unused github.com/mitchellh/mapstructure
unused github.com/leodido/go-urn
unused github.com/magiconair/properties
unused github.com/modern-go/concurrent
unused github.com/mattn/go-colorable
unused github.com/modern-go/reflect2
unused github.com/mattn/go-isatty
unused github.com/mustafaturan/bus
unused github.com/matttproud/golang_protobuf_extensions
unused github.com/mustafaturan/monoton
unused github.com/miekg/dns
unused github.com/mwitkow/go-conntrack
unused github.com/mitchellh/cli
unused github.com/neelance/astrewrite
unused github.com/mitchellh/go-homedir
unused github.com/neelance/sourcemap
unused github.com/mitchellh/go-testing-interface
unused github.com/oklog/ulid
unused github.com/mitchellh/gox
unused github.com/onsi/gomega
unused github.com/mitchellh/iochan
unused github.com/pascaldekloe/goe
unused github.com/mitchellh/mapstructure
unused github.com/patrickmn/go-cache
unused github.com/modern-go/concurrent
unused github.com/pion/dtls/v2
unused github.com/pion/logging
unused github.com/pion/sctp
unused github.com/pion/transport/v2
unused github.com/pion/udp
unused github.com/pkg/diff
unused github.com/pkg/errors
unused github.com/pmezard/go-difflib
unused github.com/posener/complete
unused github.com/prometheus/client_golang
unused github.com/prometheus/client_model
unused github.com/prometheus/common
unused github.com/prometheus/procfs
unused github.com/modern-go/reflect2
unused github.com/prometheus/tsdb
unused github.com/quic-go/qpack
unused github.com/refraction-networking/utls
unused github.com/rogpeppe/fastuuid
unused github.com/mustafaturan/bus
unused github.com/rogpeppe/go-internal
unused github.com/mustafaturan/monoton
unused github.com/russross/blackfriday/v2
unused github.com/mwitkow/go-conntrack
unused github.com/ryanuber/columnize
unused github.com/neelance/astrewrite
unused github.com/sean-/seed
unused github.com/neelance/sourcemap
unused github.com/secure-io/siv-go
unused github.com/oklog/ulid
unused github.com/shurcooL/go
unused github.com/onsi/gomega
unused github.com/shurcooL/httpfs
unused github.com/pascaldekloe/goe
unused github.com/shurcooL/sanitized_anchor_name
unused github.com/patrickmn/go-cache
unused github.com/sirupsen/logrus
unused github.com/pion/dtls/v2
unused github.com/smartystreets/assertions
unused github.com/pion/logging
unused github.com/smartystreets/goconvey
unused github.com/pion/sctp
unused github.com/soheilhy/cmux
unused github.com/pion/transport/v2
unused github.com/spaolacci/murmur3
unused github.com/pion/udp
unused github.com/spf13/afero
unused github.com/pkg/diff
unused github.com/spf13/cast
unused github.com/pkg/errors
unused github.com/spf13/cobra
unused github.com/pmezard/go-difflib
unused github.com/spf13/jwalterweatherman
unused github.com/posener/complete
unused github.com/spf13/pflag
unused github.com/prometheus/client_golang
unused github.com/prometheus/client_model
unused github.com/prometheus/common
unused github.com/prometheus/procfs
unused github.com/prometheus/tsdb
unused github.com/spf13/viper
unused github.com/quic-go/qpack
unused github.com/stretchr/objx
unused github.com/refraction-networking/utls
unused github.com/rogpeppe/fastuuid
unused github.com/subosito/gotenv
unused github.com/rogpeppe/go-internal
unused github.com/tmc/grpc-websocket-proxy
unused github.com/russross/blackfriday/v2
unused github.com/xiang90/probing
unused github.com/xiaokangwang/VLite
unused github.com/yuin/goldmark
unused go.etcd.io/bbolt
unused go.opencensus.io
unused go.uber.org/atomic
unused go.uber.org/multierr
unused go.uber.org/zap
unused golang.org/x/exp/shiny
unused golang.org/x/exp/typeparams
unused golang.org/x/image
unused golang.org/x/lint
unused golang.org/x/oauth2
unused golang.org/x/sync
unused golang.org/x/term
unused golang.org/x/time
unused golang.org/x/xerrors
unused google.golang.org/api
unused google.golang.org/appengine
unused gopkg.in/alecthomas/kingpin.v2
unused gopkg.in/check.v1
unused gopkg.in/errgo.v2
unused gopkg.in/ini.v1
unused gopkg.in/resty.v1
unused gopkg.in/yaml.v2
unused h12.io/socks
unused honnef.co/go/tools
unused rsc.io/binaryregexp
unused github.com/ryanuber/columnize
unused github.com/sean-/seed
unused github.com/secure-io/siv-go
unused github.com/shurcooL/go
unused github.com/shurcooL/httpfs
unused github.com/shurcooL/sanitized_anchor_name
unused github.com/sirupsen/logrus
unused github.com/smartystreets/assertions
unused github.com/smartystreets/goconvey
unused github.com/soheilhy/cmux
unused github.com/spaolacci/murmur3
unused github.com/spf13/afero
unused github.com/spf13/cast
unused github.com/spf13/cobra
unused github.com/spf13/jwalterweatherman
unused github.com/spf13/pflag
unused github.com/spf13/viper
unused github.com/stretchr/objx
unused github.com/subosito/gotenv
unused github.com/tmc/grpc-websocket-proxy
unused github.com/xiang90/probing
unused github.com/xiaokangwang/VLite
unused github.com/yuin/goldmark
unused go.etcd.io/bbolt
unused go.opencensus.io
unused go.uber.org/atomic
unused go.uber.org/multierr
unused go.uber.org/zap
unused golang.org/x/exp/shiny
unused golang.org/x/exp/typeparams
unused golang.org/x/image
unused golang.org/x/lint
unused golang.org/x/oauth2
unused golang.org/x/sync
unused golang.org/x/term
unused golang.org/x/time
unused golang.org/x/xerrors
unused google.golang.org/api
unused google.golang.org/appengine
unused gopkg.in/alecthomas/kingpin.v2
unused gopkg.in/check.v1
unused gopkg.in/errgo.v2
unused gopkg.in/ini.v1
unused gopkg.in/resty.v1
unused gopkg.in/yaml.v2
unused h12.io/socks
unused honnef.co/go/tools
unused rsc.io/binaryregexp
unused cloud.google.com/go
unused cloud.google.com/go/accessapproval
unused cloud.google.com/go/accesscontextmanager
unused cloud.google.com/go/aiplatform
unused cloud.google.com/go/analytics
unused cloud.google.com/go/apigateway
unused cloud.google.com/go/apigeeconnect
unused cloud.google.com/go/apigeeregistry
unused cloud.google.com/go/apikeys
unused cloud.google.com/go/appengine
unused cloud.google.com/go/area120
unused cloud.google.com/go/artifactregistry
unused cloud.google.com/go/asset
unused cloud.google.com/go/assuredworkloads
unused cloud.google.com/go/automl
unused cloud.google.com/go/baremetalsolution
unused cloud.google.com/go/batch
unused cloud.google.com/go/beyondcorp
unused cloud.google.com/go/bigquery
unused cloud.google.com/go/billing
unused cloud.google.com/go/binaryauthorization
unused cloud.google.com/go/certificatemanager
unused cloud.google.com/go/channel
unused cloud.google.com/go/cloudbuild
unused cloud.google.com/go/clouddms
unused cloud.google.com/go/cloudtasks
unused cloud.google.com/go/compute
unused cloud.google.com/go/compute/metadata
unused cloud.google.com/go/contactcenterinsights
unused cloud.google.com/go/container
unused cloud.google.com/go/containeranalysis
unused cloud.google.com/go/datacatalog
unused cloud.google.com/go/dataflow
unused cloud.google.com/go/dataform
unused cloud.google.com/go/datafusion
unused cloud.google.com/go/datalabeling
unused cloud.google.com/go/dataplex
unused cloud.google.com/go/dataproc
unused cloud.google.com/go/dataqna
unused cloud.google.com/go/datastore
unused cloud.google.com/go/datastream
unused cloud.google.com/go/deploy
unused cloud.google.com/go/dialogflow
unused cloud.google.com/go/dlp
unused cloud.google.com/go/documentai
unused cloud.google.com/go/domains
unused cloud.google.com/go/edgecontainer
unused cloud.google.com/go/errorreporting
unused cloud.google.com/go/essentialcontacts
unused cloud.google.com/go/eventarc
unused cloud.google.com/go/filestore
unused cloud.google.com/go/firestore
unused cloud.google.com/go/functions
unused cloud.google.com/go/gaming
unused cloud.google.com/go/gkebackup
unused cloud.google.com/go/gkeconnect
unused cloud.google.com/go/gkehub
unused cloud.google.com/go/gkemulticloud
unused cloud.google.com/go/gsuiteaddons
unused cloud.google.com/go/iam
unused cloud.google.com/go/iap
unused cloud.google.com/go/ids
unused cloud.google.com/go/iot
unused cloud.google.com/go/kms
unused cloud.google.com/go/language
unused cloud.google.com/go/lifesciences
unused cloud.google.com/go/logging
unused cloud.google.com/go/longrunning
unused cloud.google.com/go/managedidentities
unused cloud.google.com/go/maps
unused cloud.google.com/go/mediatranslation
unused cloud.google.com/go/memcache
unused cloud.google.com/go/metastore
unused cloud.google.com/go/monitoring
unused cloud.google.com/go/networkconnectivity
unused cloud.google.com/go/networkmanagement
unused cloud.google.com/go/networksecurity
unused cloud.google.com/go/notebooks
unused cloud.google.com/go/optimization
unused cloud.google.com/go/orchestration
unused cloud.google.com/go/orgpolicy
unused cloud.google.com/go/osconfig
unused cloud.google.com/go/oslogin
unused cloud.google.com/go/phishingprotection
unused cloud.google.com/go/policytroubleshooter
unused cloud.google.com/go/privatecatalog
unused cloud.google.com/go/pubsub
unused cloud.google.com/go/pubsublite
unused cloud.google.com/go/recaptchaenterprise/v2
unused cloud.google.com/go/recommendationengine
unused cloud.google.com/go/recommender
unused cloud.google.com/go/redis
unused cloud.google.com/go/resourcemanager
unused cloud.google.com/go/resourcesettings
unused cloud.google.com/go/retail
unused cloud.google.com/go/run
unused cloud.google.com/go/scheduler
unused cloud.google.com/go/secretmanager
unused cloud.google.com/go/security
unused cloud.google.com/go/securitycenter
unused cloud.google.com/go/servicecontrol
unused cloud.google.com/go/servicedirectory
unused cloud.google.com/go/servicemanagement
unused cloud.google.com/go/serviceusage
unused cloud.google.com/go/shell
unused cloud.google.com/go/spanner
unused cloud.google.com/go/speech
unused cloud.google.com/go/storage
unused cloud.google.com/go/storagetransfer
unused cloud.google.com/go/talent
unused cloud.google.com/go/texttospeech
unused cloud.google.com/go/tpu
unused cloud.google.com/go/trace
unused cloud.google.com/go/translate
unused cloud.google.com/go/video
unused cloud.google.com/go/videointelligence
unused cloud.google.com/go/vision/v2
unused cloud.google.com/go/vmmigration
unused cloud.google.com/go/vmwareengine
unused cloud.google.com/go/vpcaccess
unused cloud.google.com/go/webrisk
unused cloud.google.com/go/websecurityscanner
unused cloud.google.com/go/workflows
unused dmitri.shuralyov.com/gpu/mtl
unused github.com/BurntSushi/toml
unused github.com/BurntSushi/xgb
unused github.com/OneOfOne/xxhash
unused github.com/aead/cmac
unused github.com/ajg/form
unused github.com/alecthomas/template
unused github.com/alecthomas/units
unused github.com/andybalholm/brotli
unused github.com/armon/circbuf
unused github.com/armon/go-metrics
unused github.com/armon/go-radix
unused github.com/beorn7/perks
unused github.com/bgentry/speakeasy
unused github.com/bketelsen/crypt
unused github.com/boljen/go-bitmap
unused github.com/census-instrumentation/opencensus-proto
unused github.com/cespare/xxhash
unused github.com/cespare/xxhash/v2
unused github.com/chzyer/logex
unused github.com/chzyer/readline
unused github.com/chzyer/test
unused github.com/client9/misspell
unused github.com/cncf/udpa/go
unused github.com/cncf/xds/go
unused github.com/coreos/bbolt
unused github.com/coreos/etcd
unused github.com/coreos/go-semver
unused github.com/coreos/go-systemd
unused github.com/coreos/pkg
unused github.com/cpuguy83/go-md2man/v2
unused github.com/creack/pty
unused github.com/davecgh/go-spew
unused github.com/dgrijalva/jwt-go
unused github.com/dgryski/go-sip13
unused github.com/dvyukov/go-fuzz
unused github.com/envoyproxy/go-control-plane
unused github.com/envoyproxy/protoc-gen-validate
unused github.com/fatih/color
unused github.com/francoispqt/gojay
unused github.com/fsnotify/fsnotify
unused github.com/gaukas/godicttls
unused github.com/ghodss/yaml
unused github.com/go-chi/chi/v5
unused github.com/go-chi/render
unused github.com/go-gl/glfw
unused github.com/go-kit/kit
unused github.com/go-logfmt/logfmt
unused github.com/go-logr/logr
unused github.com/go-playground/locales
unused github.com/go-playground/universal-translator
unused github.com/go-playground/validator/v10
unused github.com/go-stack/stack
unused github.com/gogo/protobuf
unused github.com/golang/glog
unused github.com/golang/groupcache
unused github.com/google/btree
unused github.com/google/go-cmp
unused github.com/google/martian
unused github.com/google/renameio
unused github.com/google/uuid
unused github.com/googleapis/gax-go/v2
unused github.com/gopherjs/gopherjs
unused github.com/gopherjs/websocket
unused github.com/grpc-ecosystem/go-grpc-middleware
unused github.com/grpc-ecosystem/go-grpc-prometheus
unused github.com/grpc-ecosystem/grpc-gateway
unused github.com/hashicorp/consul/api
unused github.com/hashicorp/consul/sdk
unused github.com/hashicorp/errwrap
unused github.com/hashicorp/go-cleanhttp
unused github.com/hashicorp/go-immutable-radix
unused github.com/hashicorp/go-msgpack
unused github.com/hashicorp/go-multierror
unused github.com/hashicorp/go-rootcerts
unused github.com/hashicorp/go-sockaddr
unused github.com/hashicorp/go-syslog
unused github.com/hashicorp/go-uuid
unused github.com/hashicorp/go.net
unused github.com/hashicorp/golang-lru
unused github.com/hashicorp/hcl
unused github.com/hashicorp/logutils
unused github.com/hashicorp/mdns
unused github.com/hashicorp/memberlist
unused github.com/hashicorp/serf
unused github.com/ianlancetaylor/demangle
unused github.com/inconshreveable/mousetrap
unused github.com/jhump/gopoet
unused github.com/jhump/goprotoc
unused github.com/jonboulle/clockwork
unused github.com/json-iterator/go
unused github.com/jstemmer/go-junit-report
unused github.com/jtolds/gls
unused github.com/julienschmidt/httprouter
unused github.com/kisielk/errcheck
unused github.com/kisielk/gotool
unused github.com/klauspost/compress
unused github.com/klauspost/cpuid
unused github.com/klauspost/reedsolomon
unused github.com/konsorten/go-windows-terminal-sequences
unused github.com/kr/logfmt
unused github.com/kr/pretty
unused github.com/kr/pty
unused github.com/leodido/go-urn
unused github.com/magiconair/properties
unused github.com/mattn/go-colorable
unused github.com/mattn/go-isatty
unused github.com/matttproud/golang_protobuf_extensions
unused github.com/miekg/dns
unused github.com/mitchellh/cli
unused github.com/mitchellh/go-homedir
unused github.com/mitchellh/go-testing-interface
unused github.com/mitchellh/gox
unused github.com/mitchellh/iochan
unused github.com/mitchellh/mapstructure
unused github.com/modern-go/concurrent
unused github.com/modern-go/reflect2
unused github.com/mustafaturan/bus
unused github.com/mustafaturan/monoton
unused github.com/mwitkow/go-conntrack
unused github.com/neelance/astrewrite
unused github.com/neelance/sourcemap
unused github.com/oklog/ulid
unused github.com/onsi/gomega
unused github.com/pascaldekloe/goe
unused github.com/patrickmn/go-cache
unused github.com/pion/dtls/v2
unused github.com/pion/logging
unused github.com/pion/sctp
unused github.com/pion/transport/v2
unused github.com/pion/udp
unused github.com/pkg/diff
unused github.com/pkg/errors
unused github.com/pmezard/go-difflib
unused github.com/posener/complete
unused github.com/prometheus/client_golang
unused github.com/prometheus/client_model
unused github.com/prometheus/common
unused github.com/prometheus/procfs
unused github.com/prometheus/tsdb
unused github.com/quic-go/qpack
unused github.com/refraction-networking/utls
unused github.com/rogpeppe/fastuuid
unused github.com/rogpeppe/go-internal
unused github.com/russross/blackfriday/v2
unused github.com/ryanuber/columnize
unused github.com/sean-/seed
unused github.com/secure-io/siv-go
unused github.com/shurcooL/go
unused github.com/shurcooL/httpfs
unused github.com/shurcooL/sanitized_anchor_name
unused github.com/sirupsen/logrus
unused github.com/smartystreets/assertions
unused github.com/smartystreets/goconvey
unused github.com/soheilhy/cmux
unused github.com/spaolacci/murmur3
unused github.com/spf13/afero
unused github.com/spf13/cast
unused github.com/spf13/cobra
unused github.com/spf13/jwalterweatherman
unused github.com/spf13/pflag
unused github.com/spf13/viper
unused github.com/stretchr/objx
unused github.com/subosito/gotenv
unused github.com/tmc/grpc-websocket-proxy
unused github.com/xiang90/probing
unused github.com/xiaokangwang/VLite
unused github.com/yuin/goldmark
unused go.etcd.io/bbolt
unused go.opencensus.io
unused go.uber.org/atomic
unused go.uber.org/multierr
unused go.uber.org/zap
unused golang.org/x/exp/shiny
unused golang.org/x/exp/typeparams
unused golang.org/x/image
unused golang.org/x/lint
unused golang.org/x/oauth2
unused golang.org/x/sync
unused golang.org/x/term
unused golang.org/x/time
unused golang.org/x/xerrors
unused google.golang.org/api
unused google.golang.org/appengine
unused gopkg.in/alecthomas/kingpin.v2
unused gopkg.in/check.v1
unused gopkg.in/errgo.v2
unused gopkg.in/ini.v1
unused gopkg.in/resty.v1
unused gopkg.in/yaml.v2
unused h12.io/socks
unused honnef.co/go/tools
unused rsc.io/binaryregexp
runtime/cgo
runtime/cgo
runtime/cgo
golang.org/x/mobile/internal/mobileinit
net
golang.org/x/mobile/internal/mobileinit
net
golang.org/x/mobile/internal/mobileinit
net
github.com/v2fly/v2ray-core/v5/common/protocol/quic
github.com/v2fly/v2ray-core/v5/common/protocol/quic
github.com/v2fly/v2ray-core/v5/common/protocol/quic
#github.com/v2fly/v2ray-core/v5/common/protocol/quic
/❐❐/❐❐❐/go/pkg/mod/github.com/v2fly/v2ray-core/v5@v5.7.0/common/protocol/quic/qtls_go120.go:13:26: undefined: qtls.CipherSuiteTLS13
/❐❐/❐❐❐/go/pkg/mod/github.com/v2fly/v2ray-core/v5@v5.7.0/common/protocol/quic/qtls_go120.go:17:14: undefined: qtls.AEADAESGCMTLS13
#github.com/v2fly/v2ray-core/v5/common/protocol/quic
/❐❐/❐❐❐/go/pkg/mod/github.com/v2fly/v2ray-core/v5@v5.7.0/common/protocol/quic/qtls_go120.go:13:26: undefined: qtls.CipherSuiteTLS13
/❐❐/❐❐❐/go/pkg/mod/github.com/v2fly/v2ray-core/v5@v5.7.0/common/protocol/quic/qtls_go120.go:17:14: undefined: qtls.AEADAESGCMTLS13
#github.com/v2fly/v2ray-core/v5/common/protocol/quic
/❐❐/❐❐❐/go/pkg/mod/github.com/v2fly/v2ray-core/v5@v5.7.0/common/protocol/quic/qtls_go120.go:13:26: undefined: qtls.CipherSuiteTLS13
/❐❐/❐❐❐/go/pkg/mod/github.com/v2fly/v2ray-core/v5@v5.7.0/common/protocol/quic/qtls_go120.go:17:14: undefined: qtls.AEADAESGCMTLS13
github.com/v2fly/v2ray-core/v5/transport/internet/quic
github.com/v2fly/v2ray-core/v5/transport/internet/quic
github.com/v2fly/v2ray-core/v5/transport/internet/quic
#github.com/v2fly/v2ray-core/v5/transport/internet/quic
/❐❐/❐❐❐/go/pkg/mod/github.com/v2fly/v2ray-core/v5@v5.7.0/transport/internet/quic/dialer.go:153:3: unknown field ConnectionIDLength in struct literal of type "github.com/quic-go/quic-go".Config
/❐❐/❐❐❐/go/pkg/mod/github.com/v2fly/v2ray-core/v5@v5.7.0/transport/internet/quic/dialer.go:165:20: undefined: quic.DialContext
/❐❐/❐❐❐/go/pkg/mod/github.com/v2fly/v2ray-core/v5@v5.7.0/transport/internet/quic/hub.go:105:3: unknown field ConnectionIDLength in struct literal of type "github.com/quic-go/quic-go".Config
/❐❐/❐❐❐/go/pkg/mod/github.com/v2fly/v2ray-core/v5@v5.7.0/transport/internet/quic/hub.go:128:13: cannot use qListener (variable of type *"github.com/quic-go/quic-go".Listener) as "github.com/quic-go/quic-go".Listener value in struct literal
#github.com/v2fly/v2ray-core/v5/transport/internet/quic
/❐❐/❐❐❐/go/pkg/mod/github.com/v2fly/v2ray-core/v5@v5.7.0/transport/internet/quic/dialer.go:153:3: unknown field ConnectionIDLength in struct literal of type "github.com/quic-go/quic-go".Config
/❐❐/❐❐❐/go/pkg/mod/github.com/v2fly/v2ray-core/v5@v5.7.0/transport/internet/quic/dialer.go:165:20: undefined: quic.DialContext
/❐❐/❐❐❐/go/pkg/mod/github.com/v2fly/v2ray-core/v5@v5.7.0/transport/internet/quic/hub.go:105:3: unknown field ConnectionIDLength in struct literal of type "github.com/quic-go/quic-go".Config
/❐❐/❐❐❐/go/pkg/mod/github.com/v2fly/v2ray-core/v5@v5.7.0/transport/internet/quic/hub.go:128:13: cannot use qListener (variable of type *"github.com/quic-go/quic-go".Listener) as "github.com/quic-go/quic-go".Listener value in struct literal
#github.com/v2fly/v2ray-core/v5/transport/internet/quic
/❐❐/❐❐❐/go/pkg/mod/github.com/v2fly/v2ray-core/v5@v5.7.0/transport/internet/quic/dialer.go:153:3: unknown field ConnectionIDLength in struct literal of type "github.com/quic-go/quic-go".Config
/❐❐/❐❐❐/go/pkg/mod/github.com/v2fly/v2ray-core/v5@v5.7.0/transport/internet/quic/dialer.go:165:20: undefined: quic.DialContext
/❐❐/❐❐❐/go/pkg/mod/github.com/v2fly/v2ray-core/v5@v5.7.0/transport/internet/quic/hub.go:105:3: unknown field ConnectionIDLength in struct literal of type "github.com/quic-go/quic-go".Config
/❐❐/❐❐❐/go/pkg/mod/github.com/v2fly/v2ray-core/v5@v5.7.0/transport/internet/quic/hub.go:128:13: cannot use qListener (variable of type *"github.com/quic-go/quic-go".Listener) as "github.com/quic-go/quic-go".Listener value in struct literal
gomobile: iossimulator/amd64: go build -v -ldflags -s -w -trimpath -buildmode=c-archive -o /var/folders/dh/x7txx8pd32l5d8c4164djsf40000gn/T/gomobile-work-2310599991/V2RayControl-iossimulator-amd64.a ./gobind failed: exit status 1

@AnitaGVMTechnologies
Copy link
Author

So it does not works for you as well ? @gauravkeshre

@AnitaGVMTechnologies
Copy link
Author

AnitaGVMTechnologies commented Feb 8, 2024 via email

@gauravkeshre
Copy link
Contributor

So it does not works for you as well ? @gauravkeshre

No. It still does not work.

@AnitaGVMTechnologies
Copy link
Author

AnitaGVMTechnologies commented Feb 8, 2024 via email

@jurajhilje
Copy link
Member

Hi!
Please check my comment here.

@AnitaGVMTechnologies
Copy link
Author

We four diffrent person has tried and followed the steps but this is not working , we exact following the steps you have mentioned.

@gauravkeshre
Copy link
Contributor

@AnitaGVMTechnologies, I found a work around for this issue.

  1. Fork and clone v2ray-core
  2. In your terminal run
cd v2ray-core && go mod download;
go env -w GOPROXY=https://goproxy.io,direct;
  1. Here you can use the script bild-v2ray.sh with minor change as below
#!/bin/bash

set -e

echo "=> Get gomobile.."
export PATH=$PATH:~/go/bin
go get golang.org/x/mobile/cmd/gomobile

echo "=> Build iOS library.."
OUT_XCFRAMEWORK=../Frameworks/V2RayControl.xcframework
gomobile bind -trimpath -ldflags "-s -w" --target=ios -o ${OUT_XCFRAMEWORK}
echo "=> iOS build completed (out: ${OUT_XCFRAMEWORK})"
echo " !!!!!!!!!!!!!!!! "
echo " NOTE! The iOS project required the 'libresolv.tbd' library to be added to the project when using ${OUT_XCFRAMEWORK}"
echo " (Project->Build Phases->Link Binary With Libraries->Add Other->/usr/lib/libresolv.tbd)"
echo " !!!!!!!!!!!!!!!! "

This will give you the V2RayControl.xcframework in v2ray repo.
4. Create a new folder named Frameworks under IVPN ios repo.
5. Copy and paste the newly created V2RayControl.xcframework in the above Frameworks folder.

Please note that this will only fix the V2Ray framework issue. Once this step is done, I am struck at this error:
Command ExternalBuildToolExecution failed with a nonzero exit code I am trying to find a solution for this one right now

@AnitaGVMTechnologies
Copy link
Author

@gauravkeshre thanks for your reply and provided steps , i have tried following but i am getting this error

apple@Apples-MacBook-Pro v2ray-core-master % ./build-v2ray.sh

=> Get gomobile..
=> Build iOS library..
gomobile: go mod tidy failed: exit status 1
go: error reading go.mod: missing module declaration. To specify the module path:
go mod edit -module=example.com/mod

@AnitaGVMTechnologies
Copy link
Author

I also notice that in go file the module path is written like this : module github.com/v2fly/v2ray-core/v5

And if you search that it shows 404

@AnitaGVMTechnologies
Copy link
Author

@gauravkeshre i have request you on linkdin for more help , please accept so we can solve this togather !!

@AnitaGVMTechnologies
Copy link
Author

@jurajhilje how i can integrate v2core into my existing ios app which support v2ray server in my app ?
Can you please provide integration steps for v2core into IOS application or via v2ray core plugins

@gauravkeshre
Copy link
Contributor

i have tried following but i am getting this error

This is strange.
I just followed this page as suggested nu Juraj.
https://www.v2fly.org/en_US/developer/intro/compile.html

@its-farhan
Copy link

I am facing similar issue:

I am trying to do a fresh setup of the project and have explicitly installed the gomobile and gobind using following commands:

go install golang.org/x/mobile/cmd/gobind@latest
go install golang.org/x/mobile/cmd/gomobile@latest

I get following error:

$ sh ./build-v2ray.sh                                
=> Get gomobile..
=> Build iOS library..
gomobile: iossimulator/arm64: go build -ldflags -s -w -trimpath -buildmode=c-archive -o /var/folders/dh/x7txx8pd32l5d8c4164djsf40000gn/T/gomobile-work-366588081/V2RayControl-iossimulator-arm64.a ./gobind failed: exit status 1
# github.com/v2fly/v2ray-core/v5/common/protocol/quic
/••••••••••/go/pkg/mod/github.com/v2fly/v2ray-core/v5@v5.7.0/common/protocol/quic/qtls_go120.go:13:26: undefined: qtls.CipherSuiteTLS13
/••••••••••/go/pkg/mod/github.com/v2fly/v2ray-core/v5@v5.7.0/common/protocol/quic/qtls_go120.go:17:14: undefined: qtls.AEADAESGCMTLS13
# github.com/v2fly/v2ray-core/v5/transport/internet/quic
/••••••••••/go/pkg/mod/github.com/v2fly/v2ray-core/v5@v5.7.0/transport/internet/quic/dialer.go:153:3: unknown field ConnectionIDLength in struct literal of type "github.com/quic-go/quic-go".Config
/••••••••••/go/pkg/mod/github.com/v2fly/v2ray-core/v5@v5.7.0/transport/internet/quic/dialer.go:165:20: undefined: quic.DialContext
/••••••••••/go/pkg/mod/github.com/v2fly/v2ray-core/v5@v5.7.0/transport/internet/quic/hub.go:105:3: unknown field ConnectionIDLength in struct literal of type "github.com/quic-go/quic-go".Config
/••••••••••/go/pkg/mod/github.com/v2fly/v2ray-core/v5@v5.7.0/transport/internet/quic/hub.go:128:13: cannot use qListener (variable of type *"github.com/quic-go/quic-go".Listener) as "github.com/quic-go/quic-go".Listener value in struct literal

How did you solve this issue, can you help me with that?

@AnitaGVMTechnologies
Copy link
Author

AnitaGVMTechnologies commented Feb 22, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants