Ionic Package service Failing : ld: framework not found IOSurface for architecture arm64


#1

Ionic version: (check one with “x”)
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[x] 3.x
[x] 4.x

I’m submitting a … (check one with “x”)
[x] bug report
[ ] feature request

Current behavior:

Build failing with
ld: framework not found IOSurface for architecture arm64

Expected behavior:
Build NOT failing => source code has not been changed.
Rebuilding does not work since 6 hours.
Did you upgrade the build machine to High Sierra ? it seems to be linked to the xcode version ?


#2

Any luck? I seem to be having the same problem.


#3

What command are you talking about?
What is your ionic info output?


#4

I’m also having the same issues

I can build fine with xcode beta, but build fails with xcode. Here is the error:

ld: framework not found IOSurface for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Here is my ionic info output:

cli packages: 

    @ionic/cli-utils  : 1.13.0
    ionic (Ionic CLI) : 3.13.0

global packages:

    cordova (Cordova CLI) : 7.0.1 

local packages:

    @ionic/app-scripts : 2.1.3
    Cordova Platforms  : android 6.2.3 browser 4.1.0 ios 4.4.0
    Ionic Framework    : ionic-angular 3.7.1

System:

    Android SDK Tools : 26.1.1
    ios-deploy        : 1.9.2 
    ios-sim           : 5.0.8 
    Node              : v8.1.2
    npm               : 5.4.2 
    OS                : macOS Sierra
    Xcode             : Xcode 9.1 Build version 9B46 

Misc:

    backend : pro

#5

Found the answer here:


Ld: framework not found IOSurface for architecture armv7