Tuesday, June 30, 2026
HomeiOS Developmentios - - ERROR | unknown: Encountered an unknown error (Unsupported...

ios – – ERROR | [OSX] unknown: Encountered an unknown error (Unsupported file sort: ) throughout validation

[ad_1]

Hey guys I’m utilizing cocoapods in my kotlin multiplatform mission. I’m attempting to do personal pod spec from the doc. When I’m attempting to push the code I get weried challenge on my terminal

Validating spec
 -> VivekMyCocoaPod (0.0.1)
    - WARN  | license: Invalid license sort.
    - NOTE  | url: The URL (https://github.com/vivek-modi/KotlinPod.git) will not be reachable.
    - WARN  | http: The URL (``) would not use the encrypted HTTPS protocol. It's essential for Pods to be transferred over a safe protocol to guard your customers from man-in-the-middle assaults. This shall be an error in future releases. Please replace the URL to make use of https.
    - ERROR | [OSX] unknown: Encountered an unknown error (Unsupported file sort: ) throughout validation.

.podspec

Pod::Spec.new do |spec|
    spec.identify="VivekMyCocoaPod"
    spec.model                  = '0.0.1'
    spec.homepage="https://github.com/vivek-modi/KotlinPod.git"
    spec.supply                   = { :http=> ''}
    spec.authors=""
    spec.license=""
    spec.abstract                  = 'Some description for a Kotlin/Native module'
    spec.vendored_frameworks="construct/cocoapods/framework/MyFramework.framework"
    spec.libraries="c++"
                
                
                
    spec.pod_target_xcconfig = {
        'KOTLIN_PROJECT_PATH' => ':',
        'PRODUCT_MODULE_NAME' => 'MyFramework',
    }
                
    spec.script_phases = [
        {
            :name => 'Build VivekMyCocoaPod',
            :execution_position => :before_compile,
            :shell_path => '/bin/sh',
            :script => <<-SCRIPT
                if [ "YES" = "$COCOAPODS_SKIP_KOTLIN_BUILD" ]; then
                  echo "Skipping Gradle construct process invocation resulting from COCOAPODS_SKIP_KOTLIN_BUILD atmosphere variable set to "YES""
                  exit 0
                fi
                set -ev
                REPO_ROOT="$PODS_TARGET_SRCROOT"
                "$REPO_ROOT/../../../../personal/var/folders/bh/nx_31y193190m5vz8sd9y6jm0000gq/T/wrap1922loc/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
        }
    ]
                
finish

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments