Skip to content

Confusing error from "flutter ios build" when Xcode account session expires #32755

@SoA-YD

Description

@SoA-YD
dalmingmunming-ui-MacBook-Pro:hugin jyd$ flutter build ios
Building com.swfact.hugin for device (ios-release)...
Found saved certificate choice "iPhone Developer: Yaedam Jung (YZFXKH3K7N)". To clear, use "flutter config".
Signing iOS app for device d                                                                                                            Xcode build done.                                           18.4s                                                                       Failed to build iOS app                                                                                             
Error output from Xcode build:
↳
    2019-05-15 20:40:53.399 xcodebuild[51263:426457]  DVTPortal: Service '<DVTPortalViewDeveloperService: 0x7fee31678fc0;
    action='viewDeveloper'>' encountered an unexpected result code from the portal ('1100')
    2019-05-15 20:40:53.399 xcodebuild[51263:426457]  DVTPortal: Error:
    Error Domain=DVTPortalServiceErrorDomain Code=1100 "Your session has expired.  Please log in." UserInfo={payload=<CFBasicHash
    0x7fee319b1790 [0x7fff8686a8f0]>{type = mutable dict, count = 9,
    entries =>
        0 : responseId = <CFString 0x7fee32a25420 [0x7fff8686a8f0]>{contents = "3cb59e42-3744-41f1-a847-979848f00354"}
        2 : <CFString 0x7fff868c7598 [0x7fff8686a8f0]>{contents = "protocolVersion"} = QH65B2
        3 : <CFString 0x7fee32a25300 [0x7fff8686a8f0]>{contents = "requestUrl"} = <CFString 0x7fee32a25340 [0x7fff8686a8f0]>{contents =
        "https://developerservices2.apple.com/services/QH65B2/viewDeveloper.action"}
        6 : <CFString 0x7fee32a25220 [0x7fff8686a8f0]>{contents = "userLocale"} = en_US
        8 : resultCode = <CFNumber 0x56c360f27e5665f3 [0x7fff8686a8f0]>{value = +1100, type = kCFNumberSInt64Type}
        9 : userString = <CFString 0x7fee32a24fc0 [0x7fff8686a8f0]>{contents = "Your session has expired.  Please log in."}
        10 : <CFString 0x7fee323e57b0 [0x7fff8686a8f0]>{contents = "resultString"} = <CFString 0x7fee32a25060 [0x7fff8686a8f0]>{contents =
        "authentication.failed"}
        11 : httpCode = <CFNumber 0x56c360f27e52e1f3 [0x7fff8686a8f0]>{value = +200, type = kCFNumberSInt64Type}
        12 : <CFString 0x7fee32a250f0 [0x7fff8686a8f0]>{contents = "creationTimestamp"} = <CFString 0x7fee32a250c0
        [0x7fff8686a8f0]>{contents = "2019-05-15T11:40:53Z"}
    }
    , NSLocalizedDescription=Your session has expired.  Please log in.}
    2019-05-15 20:40:54.170 xcodebuild[51263:426457]  DVTPortal: Service '<DVTPortalViewDeveloperService: 0x7fee31012990;
    action='viewDeveloper'>' encountered an unexpected result code from the portal ('1100')
    2019-05-15 20:40:54.170 xcodebuild[51263:426457]  DVTPortal: Error:
    Error Domain=DVTPortalServiceErrorDomain Code=1100 "Your session has expired.  Please log in." UserInfo={payload=<CFBasicHash
    0x7fee335d4e30 [0x7fff8686a8f0]>{type = mutable dict, count = 9,
    entries =>
        0 : responseId = <CFString 0x7fee338f9bf0 [0x7fff8686a8f0]>{contents = "683a8b4d-2624-4659-84f1-7f2a7f99b2b2"}
        2 : <CFString 0x7fff868c7598 [0x7fff8686a8f0]>{contents = "protocolVersion"} = QH65B2
        3 : <CFString 0x7fee338f97e0 [0x7fff8686a8f0]>{contents = "requestUrl"} = <CFString 0x7fee33c0b4a0 [0x7fff8686a8f0]>{contents =
        "https://developerservices2.apple.com/services/QH65B2/viewDeveloper.action"}
        6 : <CFString 0x7fee338f6610 [0x7fff8686a8f0]>{contents = "userLocale"} = en_US
        8 : resultCode = <CFNumber 0x56c360f27e5665f3 [0x7fff8686a8f0]>{value = +1100, type = kCFNumberSInt64Type}
        9 : userString = <CFString 0x7fee335dba70 [0x7fff8686a8f0]>{contents = "Your session has expired.  Please log in."}
        10 : <CFString 0x7fee335dca80 [0x7fff8686a8f0]>{contents = "resultString"} = <CFString 0x7fee335dd440 [0x7fff8686a8f0]>{contents =
        "authentication.failed"}
        11 : httpCode = <CFNumber 0x56c360f27e52e1f3 [0x7fff8686a8f0]>{value = +200, type = kCFNumberSInt64Type}
        12 : <CFString 0x7fee33553870 [0x7fff8686a8f0]>{contents = "creationTimestamp"} = <CFString 0x7fee335e42e0
        [0x7fff8686a8f0]>{contents = "2019-05-15T11:40:54Z"}
    }
    , NSLocalizedDescription=Your session has expired.  Please log in.}
    2019-05-15 20:40:54.730 xcodebuild[51263:426457]  DVTPortal: Service '<DVTPortalViewDeveloperService: 0x7fee34216390;
    action='viewDeveloper'>' encountered an unexpected result code from the portal ('1100')
    2019-05-15 20:40:54.731 xcodebuild[51263:426457]  DVTPortal: Error:
    Error Domain=DVTPortalServiceErrorDomain Code=1100 "Your session has expired.  Please log in." UserInfo={payload=<CFBasicHash
    0x7fee34147ff0 [0x7fff8686a8f0]>{type = mutable dict, count = 9,
    entries =>
        0 : responseId = <CFString 0x7fee3417d720 [0x7fff8686a8f0]>{contents = "4b33ba2d-94a3-4b0b-b4aa-0d8bc8e4a899"}
        2 : <CFString 0x7fff868c7598 [0x7fff8686a8f0]>{contents = "protocolVersion"} = QH65B2
        3 : <CFString 0x7fee341952f0 [0x7fff8686a8f0]>{contents = "requestUrl"} = <CFString 0x7fee34152f10 [0x7fff8686a8f0]>{contents =
        "https://developerservices2.apple.com/services/QH65B2/viewDeveloper.action"}
        6 : <CFString 0x7fee333af890 [0x7fff8686a8f0]>{contents = "userLocale"} = en_US
        8 : resultCode = <CFNumber 0x56c360f27e5665f3 [0x7fff8686a8f0]>{value = +1100, type = kCFNumberSInt64Type}
        9 : userString = <CFString 0x7fee3414efc0 [0x7fff8686a8f0]>{contents = "Your session has expired.  Please log in."}
        10 : <CFString 0x7fee33b33aa0 [0x7fff8686a8f0]>{contents = "resultString"} = <CFString 0x7fee337ba150 [0x7fff8686a8f0]>{contents =
        "authentication.failed"}
        11 : httpCode = <CFNumber 0x56c360f27e52e1f3 [0x7fff8686a8f0]>{value = +200, type = kCFNumberSInt64Type}
        12 : <CFString 0x7fee333af830 [0x7fff8686a8f0]>{contents = "creationTimestamp"} = <CFString 0x7fee333af800
        [0x7fff8686a8f0]>{contents = "2019-05-15T11:40:54Z"}
    }
    , NSLocalizedDescription=Your session has expired.  Please log in.}
    ** BUILD FAILED **

Xcode's output:

    === BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Release ===
    ld: warning: ignoring file /Users/jyd/Documents/project/hugin/ios/Flutter/App.framework/App, file was built for x86_64 which is not
    the architecture being linked (arm64): /Users/jyd/Documents/project/hugin/ios/Flutter/App.framework/App
    === BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Release ===
    /* com.apple.actool.document.warnings */
    /Users/jyd/Documents/project/hugin/ios/Runner/Assets.xcassets:./AppIcon.appiconset/(null)[2d][sd.png]: warning: The app icon set
    "AppIcon" has an unassigned child.
    /Users/jyd/Documents/project/hugin/ios/Runner/Assets.xcassets:./AppIcon.appiconset/(null)[2d][sd.png]: warning: The app icon set
    "AppIcon" has an unassigned child.
    /* com.apple.actool.document.notices */
    /Users/jyd/Documents/project/hugin/ios/Runner/Assets.xcassets:./AppIcon.appiconset/[][ipad][76x76][][][1x][][]: notice: 76x76@1x app
    icons only apply to iPad apps targeting releases of iOS prior to 10.0.
    /* com.apple.actool.compilation-results */
    /Users/jyd/Documents/project/hugin/build/ios/Release-iphoneos/Runner.app/[email protected]
    /Users/jyd/Documents/project/hugin/build/ios/Release-iphoneos/Runner.app/AppIcon76x76@2x~ipad.png
    /Users/jyd/Documents/project/hugin/build/ios/Release-iphoneos/Runner.app/Assets.car
    /Users/jyd/Library/Developer/Xcode/DerivedData/Runner-agglnejewxhbrcfwdyrekfylaeth/Build/Intermediates.noindex/Runner.build/Release-
    iphoneos/Runner.build/assetcatalog_generated_info.plist

    === BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Release ===
    Non-fat binary /Users/jyd/Documents/project/hugin/build/ios/Release-iphoneos/Runner.app/Frameworks/App.framework/App is not arm64.
    Running lipo -info:
    Non-fat file: /Users/jyd/Documents/project/hugin/build/ios/Release-iphoneos/Runner.app/Frameworks/App.framework/App is architecture:
    x86_64
    Command /bin/sh failed with exit code 1

Encountered error while building for device.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listplatform-iosiOS applications specificallyt: xcode"xcodebuild" on iOS and general Xcode project managementtoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions