Git Product home page Git Product logo

Comments (6)

jesscmoore avatar jesscmoore commented on August 26, 2024

Anushka will ask Zheyuan about to investigate it.

from podnotes.

zheyxu avatar zheyxu commented on August 26, 2024

@jesscmoore Update macos/Runner/DebugProfile.entitlements and macos/Runner/Release.entitlements

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>com.apple.security.app-sandbox</key>
	<true/>
	<key>com.apple.security.cs.allow-jit</key>
	<true/>
	<key>com.apple.security.network.server</key>
	<true/>
	<key>com.apple.security.network.client</key>
        <true/>
</dict>
</plist>

And need to Add team in the signing tab in Xcode
Screenshot 2023-11-29 at 10 47 15 am

from podnotes.

jesscmoore avatar jesscmoore commented on August 26, 2024

Thanks Zheyuan. Which team option should I choose?

from podnotes.

zheyxu avatar zheyxu commented on August 26, 2024

You need to sign an apple id account, and choose your own account.
In the Singing tab of the picture, click the drop down icon of Team.

from podnotes.

jesscmoore avatar jesscmoore commented on August 26, 2024

@Zheyuan-Robert-Xu Issue resolved now. The trick was my code and macos had become incompatible, and these new versions of xcode require apple id signin even for development on local machine, allowing incoming + outgoing network connections.

  • Updated to Xcode v15.0.1
  • Updated to MacOS Sonoma v14.1.2
  • Switched to flutter channel beta

Configured xcode command line tools:
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch

Opened project in Xcode: macos/Runner.xcodeproj:
In Signing-in Capabilities:
Team: click Add and Signed in with apple id, selected my Team
Network: selected incoming and outgoing connections

Now able to build for macos, and login to solid pod

from podnotes.

jesscmoore avatar jesscmoore commented on August 26, 2024

Reverted back to flutter channel stable to see if flutter version mattered.

Flutter 3.16.3 • channel stable

With macos v14.1.2 and xcode 15.0.1 and xcode cli config as above, flutter run -d macos works, however there are many non-fatal errors

2023-12-09 22:51:42.972 xcodebuild[53512:315568] [MT] DVTAssertions: Warning in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot11/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-22269/IDEFoundation/Provisioning/Capabilities Infrastructure/IDECapabilityQuerySelection.swift:103
Details:  createItemModels creation requirements should not create capability item model for a capability item model that already exists.
Function: createItemModels(for:itemModelSource:)
Thread:   <_NSMainThread: 0x600000e28080>{number = 1, name = main}
Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.

flutter/flutter#139284

Changing back to beta, resolved the macos issue.
Flutter 3.18.0-0.1.pre • channel beta

from podnotes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.