Landry Norris
08/17/2022, 4:52 PMxxfast
08/23/2022, 6:11 AMIdentifiable
interface from swift?Landry Norris
08/29/2022, 8:27 PMMarkRS
08/30/2022, 9:14 AMLandry Norris
09/12/2022, 1:22 PMepool
09/12/2022, 11:00 PMdarkmoon_uk
09/20/2022, 1:49 PMcocoapods
plugin to publish it, which then complains that e.g:
This fat framework already has a binary for architecture `x64` (payment_module for target `ios_x64`)
...I guess it's looking to bundle all iOS targets which creates a clash - is there a way to constrain cocoapods
to only publish one of my targets?Paddy O'Brien
09/20/2022, 8:31 PMxcodebuild -create-xcframework -framework
But using the same config for an xcframework created using xcodebuild -create-xcframework -library
fails.
Get an error that there are undefined symbols for the target arch Undefined symbols for architecture arm64:
If I lipo -thin arm64
the .a and then search for the symbols using strings
the symbols are presentribesg
10/07/2022, 11:01 AMRobert Munro
10/07/2022, 12:41 PMNSString
-> NSData
in kotlin. Then it looks like the base64 encode : decode methods are in NSData?
Sorry its a noob question i know ...Slackbot
10/08/2022, 10:03 PMLandry Norris
10/19/2022, 1:49 PMjeran
11/01/2022, 8:11 PMid("org.jetbrains.compose")
). We’re only intending to use compose for our android and js targets, but we’re getting the following error when building ios:
Compilation failed: Cannot find the Composer class in the classpath
is there anyway to completely disable the org.jetbrains.compose
plugin for the ios target?Seth Madison
11/03/2022, 9:50 PMJolas
11/10/2022, 5:48 PMbinaries.framework {
embedBitcode(BitcodeEmbeddingMode.DISABLE)
}
to my target declaration.
Any help is much appreciated. Stuck in test-flight ipa upload.Robert Munro
11/14/2022, 9:26 AMribesg
05/06/2022, 10:45 AMcompileIosMainKotlinMetadata
w: Could not find "org.jetbrains.kotlin.native.platform.linux"
I think it’s recent, maybe from Kotlin 1.6.20 or 1.6.21Will Hess
11/15/2022, 9:34 PMbuild.gradle.kts
file? My raw release xcframework is around 60MB.Landry Norris
11/16/2022, 10:11 PMAnmol Verma
11/23/2022, 12:50 PMerrSecNotAvailable
error, "No keychain is available. You may need to restart your computer."
What can be the reason behind this ?
The code works fine in a sample iOS app.ribesg
11/30/2022, 1:41 PMpodspec
file generated by the cocoapods plugin:
spec.pod_target_xcconfig = {
'KOTLIN_PROJECT_PATH' => ':',
'PRODUCT_MODULE_NAME' => 'whatever',
}
spec.script_phases = [
{
:name => 'Build events',
:execution_position => :before_compile,
:shell_path => '/bin/sh',
:script => <<-SCRIPT
if [ "YES" = "$OVERRIDE_KOTLIN_BUILD_IDE_SUPPORTED" ]; then
echo "Skipping Gradle build task invocation due to OVERRIDE_KOTLIN_BUILD_IDE_SUPPORTED environment variable set to \"YES\""
exit 0
fi
set -ev
REPO_ROOT="$PODS_TARGET_SRCROOT"
"$REPO_ROOT/gradlew" -p "$REPO_ROOT" $KOTLIN_PROJECT_PATH:syncFramework \
-Pkotlin.native.cocoapods.platform=$PLATFORM_NAME \
-Pkotlin.native.cocoapods.archs="$ARCHS" \
-Pkotlin.native.cocoapods.configuration="$CONFIGURATION"
SCRIPT
}
]
Notice how KOTLIN_PROJECT_PATH
has value :
and the Gradle command ran has parameter $KOTLIN_PROJECT_PATH:syncFramework
which would be ::syncFramework
.
This worked with Gradle 7.5.1 but fails with Gradle 7.6:
Cannot locate tasks that match '::syncFramework'. The path should not include an empty segment (try ':syncFramework' instead).
I suppose they added a check. Can't find it in the changelog. I guess I'll do some kind of sed
task running after the podGenIOS
task in order to fix the podspec
(probably set KOTLIN_PROJECT_PATH
to empty), but am I right thinking the generated podspec
file is kinda broken?Anmol Verma
12/01/2022, 5:16 PMGreg
12/01/2022, 9:28 PMPat Teruel
12/07/2022, 3:25 AM000000000007e760 (__DATA,__objc_const) non-external __OBJC_$_PROTOCOL_INSTANCE_METHODS_OPT_UIWebViewDelegate
000000000007e7c8 (__DATA,__objc_const) non-external __OBJC_$_PROTOCOL_METHOD_TYPES_UIWebViewDelegate
000000000007e748 (__DATA,__objc_const) non-external __OBJC_$_PROTOCOL_REFS_UIWebViewDelegate
0000000000071f78 (__DATA,__objc_protolist) non-external (was a private external) __OBJC_LABEL_PROTOCOL_$_UIWebViewDelegate
0000000000084668 (__DATA,__data) non-external (was a private external) __OBJC_PROTOCOL_$_UIWebViewDelegate
000000000007f8e0 (__DATA,__objc_protorefs) non-external (was a private external) __OBJC_PROTOCOL_REFERENCE_$_UIWebViewDelegate
Any idea why this is? Thanks.Pat Teruel
12/07/2022, 5:27 AMMichael Langford
12/07/2022, 9:00 AMPat Teruel
12/07/2022, 9:03 AMMichael Langford
12/07/2022, 9:03 AMMichael Langford
12/07/2022, 9:03 AMPat Teruel
12/07/2022, 9:03 AM