7.9 C
New York
Monday, April 7, 2025
Home Blog

ios – Error this SDK just isn’t supported by the compiler – Xcode model 16.2 (16C5032a) to 16.3(16E140)


In Xcode model 16.2 (16C5032a) I created:

One [ScenekitApp] [File/New/Project/iOS/Game/Game Technology: SceneKit].

Three customized Frameworks [File/New/Project/iOS/Framework] [ASCSource.framework, ASCCommon.framework and ASCCoreData.framework].

Within the 4 tasks the [Minimum Deployments=iOS 15.0], [Swift version=6.0] and [BUILD_LIBRARY_FOR_DISTRIBUTION=Yes].

I instantly put in the [Zip.framework] in [ASCSource.framework] with out [pod init/pod install] and within the [General tab] [Frameworks, Libraries and Embeded Content] [Zip.framework Embed&Sign].

I put in the three frameworks [ASCSource.framework, ASCCommon.framework and ASCCoreData.framework] in [ScenekitApp] and all the pieces works completely in Xcode model 16.2(16C5032a).

I up to date Xcode model 16.2(16C5032a) to Xcode model 16.3(16E140) and a few errors within the SDKs have been indicated.

[Failed to build module ‘ASCSource’; this SDK is not supported by the compiler (the SDK is built with ‘Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)’, while this compiler is ‘Apple Swift version 6.1 effective-5.10 (swiftlang-6.1.0.110.21 clang-1700.0.13.3)’). Please select a toolchain which matches the SDK].

[Failed to build module ‘Zip’; this SDK is not supported by the compiler (the SDK is built with ‘Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)’, while this compiler is ‘Apple Swift version 6.1 effective-5.10 (swiftlang-6.1.0.110.21 clang-1700.0.13.3)’). Please select a toolchain which matches the SDK].

If I recompile all frameworks in Xcode model 16.3 (16E140) it would work, however I do not assume it will likely be answer.

I discovered some discussions in hyperlinks like the next with out success.

https://github.com/firebase/firebase-ios-sdk/points/13727

Swift Model Battle: this SDK just isn’t supported by the compiler, Please choose a toolchain which matches the SDK

Any assistance is welcome.

Thanks everybody!!!

Tesla Photo voltaic Gross sales Declined for 4 Straight Quarters, Then Tesla Stopped Publishing the Numbers



Join every day information updates from CleanTechnica on electronic mail. Or comply with us on Google Information!


I’ve to place my arms up — when Tesla acquired SolarCity in 2016, I supported the choice. Sure, Elon Musk was chairman of each firms. Sure, it was his cousins who had been CEO and CTO, and had based the corporate primarily based on a suggestion from Elon Musk at Burning Man. Sure, Tesla was saving SolarCity financially in key methods. Nonetheless, I assumed there was excellent synergy between the businesses and big potential for extra photo voltaic gross sales by the Tesla model, gross sales community, and buyer base.

Since then, Tesla has finished some great things, however I’ve to say that I’ve been very disillusioned in Tesla’s relatively gentle, disconnected, and general lame efforts to promote extra rooftop solar energy.

One thing I observed some time again proved the purpose. Tesla’s quarterly rooftop solar energy installations began dropping, and dropping, and dropping. In some unspecified time in the future, I spotted this had gone from an up & down section of Tesla’s enterprise to a long-term, vital decline.

I made a decision to return and really see how lengthy Tesla had been seeing its photo voltaic enterprise decline. Sadly, the findings weren’t uplifting. After it’s “final good quarter,” the 4th quarter of 2022, when 100 megawatts (MW) of solar energy had been put in, Tesla’s rooftop photo voltaic installations declined for no less than 4 consecutive quarters. The corporate printed the numbers for these 4 quarters, however then, within the subsequent quarter, Q1 2024, Tesla merely lamented that its photo voltaic installations had declined yr over yr however stopped publishing these figures. Presumably, the rooftop photo voltaic gross sales decline continued — in any other case, Tesla would have highlighted a return to development. However we simply can’t make sure of that in each quarter.

Within the “Property” part of Tesla’s quarterly monetary studies, the corporate does nonetheless publish “Photo voltaic power programs, internet.” And the totals for which have continued to say no in each quarter since then. So, if we presume continued quarter-over-quarter declines in solar energy installations, that might be 8 straight quarters of decline (not making a judgement on Q1 2025 but, however I’m not hopeful about that quarter both).

Apart from latest quarters, when you have a look at the complete chart and graph above, it definitely stands out that Tesla’s photo voltaic installations have dropped off a cliff in comparison with the place they had been proper after the SolarCity acquisition. In This fall 2016, 201 MW of solar energy had been put in. In Q1 2017, 150 MW had been put in. In Q2 2017, 176 MW had been put in. After which Tesla by no means obtained near these figures once more. In Q3 2017, 109 MW of solar energy had been put in, and Tesla has solely damaged 100 MW of latest solar energy capability in 1 / 4 twice since then.

The pattern in these 4 quarters of 2023 — the final quarters Tesla printed that information for — was unhealthy, very had. If that pattern continued in 2024, we have now to imagine Tesla’s photo voltaic enterprise is a shell of what it was a number of (or perhaps a few) years in the past.

That is horrible to see for anybody cheering on cleantech development. Far more solar energy must be put in, and an enormous slowdown in photo voltaic installations from a big firm like Tesla simply doesn’t make sense to me. Even not making an attempt laborious, it looks like the corporate ought to be capable of discover many shoppers able to take the photo voltaic plunge.

Right here’s the above chart and graph once more in interactive type (greatest considered on an actual pc, not a telephone):

Some other ideas on these numbers and graphics?

 

Whether or not you have got solar energy or not, please full our newest solar energy survey.



Chip in a couple of {dollars} a month to assist assist impartial cleantech protection that helps to speed up the cleantech revolution!


Have a tip for CleanTechnica? Need to promote? Need to recommend a visitor for our CleanTech Discuss podcast? Contact us right here.


Join our every day e-newsletter for 15 new cleantech tales a day. Or join our weekly one if every day is just too frequent.


Commercial



 


CleanTechnica makes use of affiliate hyperlinks. See our coverage right here.

CleanTechnica’s Remark Coverage




Are Social Media and Gaming Addictive? Ethics of Software program Testing


Billions of items of content material hit social media and gaming apps day by day. In 2024, Statista reported that folks spend a median of 143 minutes on social media alone. That’s plenty of scrolling, tapping, and taking part in.

Software program testers make sure that these platforms run easily, catching bugs earlier than customers discover. However when apps use infinite scrolling or fixed notifications to maintain us hooked, it raises a query. Are testers serving to construct instruments that may entice us, or are they simply doing their job?

Let’s take a look at what software program testers do, the addictive options they refine, and the moral line they navigate.

Software program Testing – A Primer

The software program testing market was $87.4 billion in 2024, growing at an annual fee of 21 %.

Software program testers verify that apps work as supposed. They take a look at options like fast-loading likes on Instagram or seamless level-ups in Roblox on-line video games. In keeping with Forbes, thorough testing is a should for larger buyer satisfaction and decrease assist prices.

Testers often don’t create options, they excellent them. When these options are designed to carry consideration, like limitless feeds or loot field prompts, testers guarantee they perform nicely.

For instance, they verify Instagram’s scroll retains going with out lag. In video games, they confirm that reward programs tempt gamers to spend. Their work sharpens the consumer expertise, together with the components that make it arduous to log out.

Are Social Media and Gaming Addictive? Ethics of Software program Testing

Addictive Design Patterns – The Typical Suspects

Many software program builders use psychology to spice up engagement, and testers polish the outcomes.

This consists of:

  • Infinite Scrolling: No stopping level, simply extra content material. Testers guarantee it runs with out glitches.
  • Push Notifications: Alerts about new likes or uncommon gadgets. Testers time them to hit when customers are more likely to return, usually inside a day of their final use.
  • Reward Loops in video video games: Streaks or battle passes that nudge gamers again. Testers make sure that these rewards set off reliably.

These aren’t random quirks. They’re constructed to maintain customers within the loop, and testers verify they work as deliberate. We actually can not blame the software program testers, as about 60 % of that is examined robotically. The query is whether or not they need to query the intent.

The Science Behind the Hooks

Why do these options work so nicely? It’s all about dopamine.

A 2024 Harvard examine defined that reward loops, like these in gaming or social media, set off dopamine, the feel-good chemical. Every notification or loot drop offers a small rush, urging customers to chase the following one. This mimics slot machine logic: unpredictable rewards maintain individuals hooked.

Testing performs a task right here, too. Testers guarantee notifications arrive quick and rewards really feel satisfying. In Name of Obligation, they could verify a battle move tier unlocks easily, amplifying that dopamine hit. Science backs the design, and testers maintain it working like clockwork.

The Actual-World Fallout

Heavy app use impacts individuals.

A 2024 report tied compulsive habits and excessive display screen time to teen psychological well being issues, like anxiousness or sleep points. Dad and mom see youngsters fixated on video games like Minecraft, grades dropping, and tempers flaring over limits. Bodily results hit too: eye pressure, and sore thumbs from lengthy classes.

This has sparked lawsuits. Households declare video games like Fortnite had been made to addict youngsters, utilizing rewards and microtransactions. For example, the continued online game habit lawsuit argues that corporations knew the dangers however prioritized revenue. Social media faces related warmth over engagement ways linked to psychological pressure.

TorHoerman Legislation notes that main online game corporations are dealing with lawsuits for deliberately designing their video games for addictiveness. Plaintiffs usually emphasize that kids’s impulse management and danger evaluation are nonetheless growing, making them prime targets.

Successes and Slip-Ups of Testing in Motion

Testers have an effect.

Roblox’s 2023 loot field system handed testing, solely to face “predatory” accusations from mother and father later. The in-game gimmick labored too nicely, because it took the method from the psychology of playing: unpredictable rewards.

On Instagram, testers helped launch a “take a break” immediate after a predetermined minutes of scrolling, slicing addictive utilization. 90 % of customers stored this on, seeing that it helped them unplug.

When geared toward steadiness, testing can shift habits. It relies on what the higher-ups need.

App Design Is In the end Human

Software program testers don’t invent the hooks in social media and gaming apps, however they make them stick. They make sure the feed circulate and rewards land, boosting engagement that’s arduous to flee.

Ethically, they’re caught between doing their job and questioning its impression. With lawsuits rising and analysis piling up, corporations face strain to rethink design.

Subsequent time you’re caught scrolling or gaming, think about: what did testers prioritize right here? Perhaps we must always all verify our personal limits.

ios – Doable bug in RealityKit Physics


My iOS app makes use of RealityKit with Physics to maneuver entities. It requires to place objects on a board. This should be carried out with a completely inelastic affect, i.e. the article should not bounce again when placed on the board.
Sadly, I used to be not in a position to obtain this habits. I thus wrote a little bit check app to research the scenario. This app is proven under.
The app units up a board and above it a field. Each entities use a physicsBody in order that they will take part within the Physics simulation.
The mode of the board is .static, i.e. it doesn’t transfer. The mode of the field is .dynamic, i.e. it strikes instantly after app begin down by gravity.
The PhysicsMaterialResource of each entities has its restitution set to 0, i.e. the affect needs to be completely inelastic.
Each entities have collision shapes, in order that the field collides with the board after a brief fall.

The important check parameter is the scaleFactor at first of the code. Relying on its worth, I noticed completely different habits:

  • If scaleFactor is = 0.1, the field collides with the board, and stops as anticipated.
  • If scaleFactor is = 0.02, the field is bounced again hardly, and disappears in direction of the highest.
  • If scaleFactor is = 0.01, The field doesn’t collide with the board, and falls via.

I imagine that is RealityKit bug, and if any individual can verify this, I’ll write a bug report.

The code:

import SwiftUI

@most important
struct RestitutionApp: App {
    var physique: some Scene {
        WindowGroup {
            ContentView()
        }
    }
}

import RealityKit
import SwiftUI

let scaleFactor: Float = 0.1 // right habits
//let scaleFactor: Float = 0.02 // affect shouldn't be inelastic
//let scaleFactor: Float = 0.01 // field falls via the board

struct ContentView: View {
    let scale = scaleFactor * SIMD3(1, 1, 1)
    let boxSize: Float = 0.5/scaleFactor
    
    var physique: some View {
        RealityView { content material in
            let board = makeBoard()
            board.place = [0, 0, -3]
            content material.add(board)
            
            let field = makeBox()
            field.place = [0, 1, 0]
            board.addChild(field)
        }
    }
    
    func makeBoard() -> ModelEntity {
        let mesh = MeshResource.generateBox(width: 2, peak: 0.2, depth: 1.0)
        var materials = UnlitMaterial(); materials.shade.tint = .purple
        let boardEntity = ModelEntity(mesh: mesh, supplies: [material])
        
        boardEntity.generateCollisionShapes(recursive: false)
        
        let physicsMaterial = PhysicsMaterialResource.generate(friction: 0, restitution: 0)
        boardEntity.physicsBody = PhysicsBodyComponent(massProperties: .default, 
                                                       materials: physicsMaterial, 
                                                       mode: .static) // The board doesn't transfer
        
        return boardEntity
    }
    
    func makeBox() -> ModelEntity {
        let mesh = MeshResource.generateBox(measurement: boxSize)
        var materials = UnlitMaterial(); materials.shade.tint = .inexperienced
        let boxEntity = ModelEntity(mesh: mesh, supplies: [material])
        
        boxEntity.scale = scale
        
        boxEntity.generateCollisionShapes(recursive: false)
        
        let physicsMaterial = PhysicsMaterialResource.generate(friction: 0, restitution: 0)
        boxEntity.physicsBody = PhysicsBodyComponent(massProperties: .default, 
                                                         materials: physicsMaterial, 
                                                         mode: .dynamic)
        
        return boxEntity
    }

}

Trump’s Fraud & Effectivity Lies Carry Out Mass Protests



Join day by day information updates from CleanTechnica on e mail. Or comply with us on Google Information!


We’ve had plenty of dangerous information because the Trump inauguration. For these of us within the clear vitality camp, there’s been the revocation of our Paris Settlement pledges. Trump issued a sequence of sweeping govt orders together with “terminating the Inexperienced New Deal” by way of funding within the Inflation Discount Act — former President Joe Biden’s signature piece of local weather laws. Bipartisan Infrastructure Legislation funds have additionally been frozen.

Mass protests on Saturday decried these and different Trump actions within the largest rallying cry for democracy this yr.

Individuals had been within the streets throughout greater than 100 cities within the US — “lifting our voices so loudly collectively,” Michael Moore exclaimed, in order that the whole world would hear. Not like the 2017 Girls’s March on Washington, at the present time was designed to welcome lots of of individuals in native gatherings.

Media small and huge coated the occasions.

Fingers Off! demonstrations had been organized for greater than 1,300 areas in all 50 states by greater than 150 teams, together with civil rights organizations, labor unions, LBGTQ+ advocates, veterans, and elections activists, based on the Related Press. In Windfall, about 8,000 individuals marched from Hope Excessive College to Kennedy Plaza. Between 25,000 and 30,000 individuals flowed from Boston Widespread to Metropolis Corridor Plaza. They stood within the uncooked rain in Connecticut and shared a day of sunshine in Florida.

Whatever the location, they had been a part of coordinated mass protests in what Widespread Desires known as “the biggest public rebuke but to President Donald Trump and high henchman Elon Musk’s assault on the workings of the federal authorities.” The financial decimation of federal packages is a handshake to right-wing oligarchs whereas debilitating on a regular basis working households.

It was the biggest single day of protest since Trump took workplace.

Indivisible was one of many core organizing teams behind the day’s mass protests. They said that thousands and thousands of members joined collectively as they demanded “an finish to Trump’s authoritarian energy seize,” decrying Donald Trump and Elon Musk, who “are staging a coup.”

The New York Instances notes that lots of the protesters, “particularly federal staff and faculty college students,” had been reluctant to provide their names “for concern of retaliation.” It’s clear that Trump and his sycophants are within the means of censuring individuals and establishments that he views as out of step along with his worldview.

The “Purchase American” Mantra Doesn’t Work in Our Globalized World

Throughout the American Revolution, financial nationalism was existential: It helped unfold the view that England was an out of doors enemy and inspired individuals to behave towards US financial suppression. Extra just lately, the idea has been narrowed to a phrase that invokes patriotism: “Purchase American.”

Broad-based Purchase American actions traditionally reject not solely overseas items but in addition overseas or non-White staff, even these on US soil, explains Amanda Mull on Bloomberg. US employee dissatisfaction and unrest is funneled towards a overseas menace. Large enterprise “can extra simply solid itself as an ally of the Everyman.” Purchase American scores unity factors and “has all the time been a simple promote throughout the political spectrum,” Mull continues, though it doesn’t change conduct.

Trump titled himself the “Purchase American, Rent American” president throughout his first time period. Nonetheless, important opposition has arisen from unlikely bedfellows to his second administration’s chaotic tariff regime. Within the up to date world of globalized provide chains, a Purchase American marketing campaign is little greater than subterfuge. Few are consuming the Kool Support that merely buying items made within the US will create a robust nation. Honda is a Japanese firm that manufactures the Accord in Ohio. The Chevrolet Silverado is manufactured in factories within the US, Mexico, and Canada. The place do these automakers match into the Trump tariff paradigm? (Perhaps he doesn’t understand how automobiles are produced lately?)

Mass Protests: “Fingers Off Our Local weather Funds!”

By September 2024, the Biden administration had funded greater than 60,000 initiatives from the Bipartisan Infrastructure Legislation — initiatives to rebuild deteriorating bridges, make roadways safer, upgraded ports to be extra environment friendly, modernize airport terminals, and develop public transit and passenger rail providers, together with delivering the primary high-speed rail methods within the nation.

At the moment these initiatives have unsure futures.

Youth throughout the US have been outstanding voices in efforts to struggle again towards such Trump administration local weather funding freezes.

The Dawn motion factors out that Donald Trump gained the chief workplace by claiming he would struggle for working individuals. “We all know higher,” the Sunrisers say. “As an alternative, he’s giving the richest males within the nation much more cash and extra energy, whereas they jack up the hire and burn the planet. Why? As a result of he’s their billionaire buddy, they usually’ve purchased him out.”

As an alternative of acquiescing to “many years of the .001% amassing wealth whereas the remainder of us undergo,” the Sunrisers proceed, they wish to “take down the oligarchy.”

The group is pushing for a Inexperienced New Deal. They are saying it’s a governing agenda to mobilize each facet of American society to achieve 100% clear and renewable vitality, assure living-wage jobs for anybody who wants one, and supply a simply transition for each staff and frontline communities—all within the subsequent 10 years. The Sunrisers acknowledge that, for many years, working class communities and communities of coloration have been the primary to be hit by air pollution and the final to be rebuilt after a local weather catastrophe. These challenges must be fought head-on, say the Sunrisers:

  • cease the poisonous air pollution inflicting local weather disasters and sickness;
  • assure a very good job with a dwelling wage to all;
  • present clear air and water;
  • shield from catastrophe; and,
  • give entry to wholesome meals.

How do the Sunrisers intend to perform these targets?

  • Expose Trump and much proper politician’s corruption.
  • Stiffen spines of Democrats and different establishments to turn out to be a pro-working class, anti-corruption various.
  • Construct mass organized energy.

They’d such as you to hitch in, if you happen to haven’t completed so already.

Closing Ideas

It’s warranted to look to thinker Rebecca Solnit and her 2016 guide Hope within the Darkish throughout these occasions of chaos. She asks us to look intently at a previous “that’s too seldom acknowledged.” It was a time by which people impressed a “scale of change on the earth and the collective creativeness” that was “staggering.”

It’s such boldness to which Solnit refers that may maintain us right now in lately the place democracy rests on a fragile precipice.

“There are occasions when it appears as if not solely the long run however the current is darkish; few acknowledge what a radically remodeled world we reside in, one which has been remodeled not solely by such nightmares as world warming and world capital, however by desires of freedom and of justice — and remodeled by issues we couldn’t have dreamed of. We modify to adjustments with out measuring them, we overlook how a lot the tradition has modified.”

Whether or not you have got solar energy or not, please full our newest solar energy survey.



Chip in a number of {dollars} a month to assist assist unbiased cleantech protection that helps to speed up the cleantech revolution!


Have a tip for CleanTechnica? Wish to promote? Wish to recommend a visitor for our CleanTech Discuss podcast? Contact us right here.


Join our day by day publication for 15 new cleantech tales a day. Or join our weekly one if day by day is simply too frequent.


Commercial



 


CleanTechnica makes use of affiliate hyperlinks. See our coverage right here.

CleanTechnica’s Remark Coverage